summaryrefslogtreecommitdiff
path: root/src/ec/quanta
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:51:36 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-09-11 17:07:03 +0000
commitad7c8ffba97b74d70e139b3745ce02ae513d2ef2 (patch)
treef0469d5b3cafa0537ef1ef50d0cd3fab145b3f21 /src/ec/quanta
parent8b70772ab4b6929eff80906820e0e48bc2d6a5ce (diff)
downloadcoreboot-ad7c8ffba97b74d70e139b3745ce02ae513d2ef2.tar.xz
src/ec: Drop unneeded empty lines
Change-Id: I1955390fcceeb42ecb644ac74541b7e9dd25320f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44610 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/ec/quanta')
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.c3
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.h3
-rw-r--r--src/ec/quanta/it8518/ec.c5
-rw-r--r--src/ec/quanta/it8518/ec.h1
4 files changed, 0 insertions, 12 deletions
diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c
index 532060f8a1..c7b934877c 100644
--- a/src/ec/quanta/ene_kb3940q/ec.c
+++ b/src/ec/quanta/ene_kb3940q/ec.c
@@ -26,7 +26,6 @@ static int ec_input_buffer_empty(u8 status_port)
return !!timeout;
}
-
static int ec_output_buffer_full(u8 status_port)
{
u32 timeout;
@@ -41,8 +40,6 @@ static int ec_output_buffer_full(u8 status_port)
return !!timeout;
}
-
-
/* The ENE 60/64 EC registers are the same command/status IB/OB KBC pair.
* Check status from 64 port before each command.
*
diff --git a/src/ec/quanta/ene_kb3940q/ec.h b/src/ec/quanta/ene_kb3940q/ec.h
index dafafa7992..d354048eb0 100644
--- a/src/ec/quanta/ene_kb3940q/ec.h
+++ b/src/ec/quanta/ene_kb3940q/ec.h
@@ -12,8 +12,6 @@
#define EC_IO_LOW EC_IO + 2
#define EC_IO_DATA EC_IO + 3
-
-
// 60h/64h Command Interface
#define KBD_DATA 0x60
#define KBD_COMMAND 0x64
@@ -192,5 +190,4 @@ void ec_mem_write(u8 addr, u8 data);
#define EC_CMD_BURST_DISABLE 0x83
#define EC_CMD_QUERY_EVENT 0x84
-
#endif /* _EC_QUANTA_ENE_KB3940Q_EC_H */
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