summaryrefslogtreecommitdiff
path: root/src/mainboard/getac
diff options
context:
space:
mode:
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 c62af6eec8..26767d9965 100644
--- a/src/mainboard/getac/p470/ec_oem.c
+++ b/src/mainboard/getac/p470/ec_oem.c
@@ -80,13 +80,6 @@ u8 ec_oem_read(u8 addr)
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 23fe797fa3..9200f0e104 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_command(u8 command);
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);