From 15ad9dd1b74a9bad7c51e33bc66cc8171c1f9cf6 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 13 Oct 2022 12:42:19 +0200 Subject: mb/getac/p470: Remove unused 'send_ec_oem_data_nowait()' Change-Id: If68629f22803ebd61cd00b76b9e61822178325f9 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/68372 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/getac/p470/ec_oem.c | 7 ------- src/mainboard/getac/p470/ec_oem.h | 1 - 2 files changed, 8 deletions(-) (limited to 'src/mainboard/getac') diff --git a/src/mainboard/getac/p470/ec_oem.c b/src/mainboard/getac/p470/ec_oem.c index c07bdc6a3b..c62af6eec8 100644 --- a/src/mainboard/getac/p470/ec_oem.c +++ b/src/mainboard/getac/p470/ec_oem.c @@ -47,13 +47,6 @@ int send_ec_oem_data(u8 data) 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 db1837d33c..23fe797fa3 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); -- cgit v1.2.3