aboutsummaryrefslogtreecommitdiff
path: root/src/ec/compal/ene932
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/compal/ene932')
-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