summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-24 01:00:03 -0700
committerSimon Glass <sjg@chromium.org>2015-08-26 07:54:15 -0700
commit5e653b0609cd256572a2e97a8449489ca84de017 (patch)
tree290807ef594065d1a0e2e3768a4bc0c81027daa5
parentdf1c9eb505a194e2957356d9e0d730dbe03ed45d (diff)
downloadu-boot-imx-5e653b0609cd256572a2e97a8449489ca84de017.zip
u-boot-imx-5e653b0609cd256572a2e97a8449489ca84de017.tar.gz
u-boot-imx-5e653b0609cd256572a2e97a8449489ca84de017.tar.bz2
x86: i8042: Remove unused codes
Remove unused CONFIG_USE_CPCIDVI wrapped codes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/input/i8042.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/input/i8042.c b/drivers/input/i8042.c
index 1769c5e..87220ca 100644
--- a/drivers/input/i8042.c
+++ b/drivers/input/i8042.c
@@ -10,16 +10,6 @@
/* includes */
#include <common.h>
-#include <linux/compiler.h>
-
-#ifdef CONFIG_USE_CPCIDVI
-extern u8 gt_cpcidvi_in8(u32 offset);
-extern void gt_cpcidvi_out8(u32 offset, u8 data);
-
-#define in8(a) gt_cpcidvi_in8(a)
-#define out8(a, b) gt_cpcidvi_out8(a, b)
-#endif
-
#include <i8042.h>
/* defines */
@@ -365,13 +355,6 @@ int i8042_kbd_init(void)
if (!kbd_controller_present() || board_i8042_skip())
return -1;
-#ifdef CONFIG_USE_CPCIDVI
- penv = getenv("console");
- if (penv != NULL) {
- if (strncmp(penv, "serial", 7) == 0)
- return -1;
- }
-#endif
/* Init keyboard device (default US layout) */
keymap = KBD_US;
penv = getenv("keymap");