Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68372 )
Change subject: mb/getac/p470: Remove unused 'send_ec_oem_data_nowait()' ......................................................................
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 --- M src/mainboard/getac/p470/ec_oem.c M src/mainboard/getac/p470/ec_oem.h 2 files changed, 13 insertions(+), 8 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
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);