summaryrefslogtreecommitdiff
path: root/src/mainboard/getac
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-13 12:42:19 +0200
committerPatrick Georgi <patrick@coreboot.org>2022-10-28 17:29:10 +0000
commit15ad9dd1b74a9bad7c51e33bc66cc8171c1f9cf6 (patch)
treedcc824f025c2530564ba294fdecc08d164789956 /src/mainboard/getac
parent8eb7b35010741eb63b215a77149dd448cf529674 (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>
Diffstat (limited to 'src/mainboard/getac')
-rw-r--r--src/mainboard/getac/p470/ec_oem.c7
-rw-r--r--src/mainboard/getac/p470/ec_oem.h1
2 files changed, 0 insertions, 8 deletions
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);