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>
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
@@ -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 */
|
||||
|
@@ -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;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user