summaryrefslogtreecommitdiff
path: root/src/ec/quanta/it8518
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta/it8518')
-rw-r--r--src/ec/quanta/it8518/ec.c5
-rw-r--r--src/ec/quanta/it8518/ec.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/ec/quanta/it8518/ec.c b/src/ec/quanta/it8518/ec.c
index 949f93dc75..80aaa5dd12 100644
--- a/src/ec/quanta/it8518/ec.c
+++ b/src/ec/quanta/it8518/ec.c
@@ -26,7 +26,6 @@ static int input_buffer_empty(u16 status_reg)
return !!timeout;
}
-
static int output_buffer_full(u16 status_reg)
{
u32 timeout;
@@ -42,8 +41,6 @@ static int output_buffer_full(u16 status_reg)
return !!timeout;
}
-
-
/* The IT8518 60/64 EC registers are the same command/status IB/OB KBC pair.
* Check status from 64 port before each command.
*
@@ -73,7 +70,6 @@ void ec_kbc_write_ib(u8 data)
outb(data, KBD_DATA);
}
-
/*
* These functions are for accessing the IT8518 device RAM space via 0x66/0x68
*/
@@ -110,7 +106,6 @@ void ec_write(u16 addr, u8 data)
ec_write_ib(data);
}
-
u8 ec_it8518_get_event(void)
{
u8 cmd = 0;
diff --git a/src/ec/quanta/it8518/ec.h b/src/ec/quanta/it8518/ec.h
index 4dcf1580c3..5645062bcc 100644
--- a/src/ec/quanta/it8518/ec.h
+++ b/src/ec/quanta/it8518/ec.h
@@ -58,7 +58,6 @@ void ec_kbc_write_ib(u8 data);
#define EC_IF_MAJ_VER 0xEF
#define EC_MBAT_STATUS 0x0138
-
// EC 0.83b added status bits:
// BIT0=EC in RO mode
// BIT1=Recovery Key Sequence Detected