summaryrefslogtreecommitdiff
path: root/src/ec/compal
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/compal
parent8b70772ab4b6929eff80906820e0e48bc2d6a5ce (diff)
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/compal')
-rw-r--r--src/ec/compal/ene932/ec.c3
-rw-r--r--src/ec/compal/ene932/ec.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c
index cacea96e3b..eb0b5ff5ad 100644
--- a/src/ec/compal/ene932/ec.c
+++ b/src/ec/compal/ene932/ec.c
@@ -25,7 +25,6 @@ static int kbc_input_buffer_empty(void)
return !!timeout;
}
-
static int kbc_output_buffer_full(void)
{
u32 timeout;
@@ -58,7 +57,6 @@ int kbc_cleanup_buffers(void)
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.
*
@@ -88,7 +86,6 @@ void ec_kbc_write_ib(u8 data)
outb(data, KBD_DATA);
}
-
/*
* These functions are for accessing the ENE932 device space, but are not
* currently used.
diff --git a/src/ec/compal/ene932/ec.h b/src/ec/compal/ene932/ec.h
index d05bc8f177..a1581b5c8f 100644
--- a/src/ec/compal/ene932/ec.h
+++ b/src/ec/compal/ene932/ec.h
@@ -22,14 +22,12 @@
#define CFG_COMMAND_WRITE_ENABLE (1 << 3)
#define CFG_STATUS (1 << 1)
-
#define KBD_DATA 0x60
#define KBD_COMMAND 0x64
#define KBD_STATUS 0x64
#define KBD_IBF (1 << 1) // 1: input buffer full (data ready for ec)
#define KBD_OBF (1 << 0) // 1: output buffer full (data ready for host)
-
/* Wait 400ms for keyboard controller answers */
#define KBC_TIMEOUT_IN_MS 400