commit | 1733983d55aaa988f5a57e1a1d1542f77cd39cc5 | [log] [tgz] |
---|---|---|
author | Elyes Haouas <ehaouas@noos.fr> | Thu Oct 13 12:58:40 2022 +0200 |
committer | Patrick Georgi <patrick@coreboot.org> | Fri Oct 28 17:29:16 2022 +0000 |
tree | 1bfc305e8362cd7788eb300ff6531ba2867a965d | |
parent | 15ad9dd1b74a9bad7c51e33bc66cc8171c1f9cf6 [diff] |
mb/getac/p470: Remove unused 'ec_oem_write()' Change-Id: Ia955d8736f9b1835ad33ce43dfbbcd9b6a0a9db4 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68373 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <patrick@coreboot.org>
diff --git a/src/mainboard/getac/p470/ec_oem.c b/src/mainboard/getac/p470/ec_oem.c index c62af6e..26767d9 100644 --- a/src/mainboard/getac/p470/ec_oem.c +++ b/src/mainboard/getac/p470/ec_oem.c
@@ -80,13 +80,6 @@ return recv_ec_oem_data(); } -int ec_oem_write(u8 addr, u8 data) -{ - send_ec_oem_command(0x81); - send_ec_oem_data(addr); - return send_ec_oem_data(data); -} - int ec_oem_dump_status(void) { u8 ec_sc = inb(EC_OEM_SC);
diff --git a/src/mainboard/getac/p470/ec_oem.h b/src/mainboard/getac/p470/ec_oem.h index 23fe797..9200f0e1 100644 --- a/src/mainboard/getac/p470/ec_oem.h +++ b/src/mainboard/getac/p470/ec_oem.h
@@ -25,7 +25,6 @@ int send_ec_oem_data(u8 data); u8 recv_ec_oem_data(void); u8 ec_oem_read(u8 addr); -int ec_oem_write(u8 addr, u8 data); int ec_dump_status(void); int ec_oem_dump_status(void);