commit | 15ad9dd1b74a9bad7c51e33bc66cc8171c1f9cf6 | [log] [tgz] |
---|---|---|
author | Elyes Haouas <ehaouas@noos.fr> | Thu Oct 13 12:42:19 2022 +0200 |
committer | Patrick Georgi <patrick@coreboot.org> | Fri Oct 28 17:29:10 2022 +0000 |
tree | dcc824f025c2530564ba294fdecc08d164789956 | |
parent | 8eb7b35010741eb63b215a77149dd448cf529674 [diff] |
mb/getac/p470: Remove unused 'send_ec_oem_data_nowait()' Change-Id: If68629f22803ebd61cd00b76b9e61822178325f9 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68372 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 c07bdc6..c62af6e 100644 --- a/src/mainboard/getac/p470/ec_oem.c +++ b/src/mainboard/getac/p470/ec_oem.c
@@ -47,13 +47,6 @@ return 0; } -int send_ec_oem_data_nowait(u8 data) -{ - outb(data, EC_OEM_DATA); - - return 0; -} - u8 recv_ec_oem_data(void) { int timeout;
diff --git a/src/mainboard/getac/p470/ec_oem.h b/src/mainboard/getac/p470/ec_oem.h index db1837d..23fe797 100644 --- a/src/mainboard/getac/p470/ec_oem.h +++ b/src/mainboard/getac/p470/ec_oem.h
@@ -23,7 +23,6 @@ int send_ec_oem_command(u8 command); int send_ec_oem_data(u8 data); -int send_ec_oem_data_nowait(u8 data); u8 recv_ec_oem_data(void); u8 ec_oem_read(u8 addr); int ec_oem_write(u8 addr, u8 data);