public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 1/7] x86: i8042: Remove unused codes
@ 2015-08-24  8:00 Bin Meng
  2015-08-24  8:00 ` [U-Boot] [PATCH v3 2/7] x86: i8042: Reorder static functions Bin Meng
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Bin Meng @ 2015-08-24  8:00 UTC (permalink / raw)
  To: u-boot

Remove unused CONFIG_USE_CPCIDVI wrapped codes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

---

Changes in v3:
- Keep i8042_flush(), i8042_disable() and board_i8042_skip()

Changes in v2:
- Split the removing of unused codes into this patch

 drivers/input/i8042.c | 17 -----------------
 1 file changed, 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");
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-08-26 14:56 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24  8:00 [U-Boot] [PATCH v3 1/7] x86: i8042: Remove unused codes Bin Meng
2015-08-24  8:00 ` [U-Boot] [PATCH v3 2/7] x86: i8042: Reorder static functions Bin Meng
2015-08-26 14:56   ` Simon Glass
2015-08-24  8:00 ` [U-Boot] [PATCH v3 3/7] x86: i8042: Clean up the driver per coding convention Bin Meng
2015-08-26 14:56   ` Simon Glass
2015-08-24  8:00 ` [U-Boot] [PATCH v3 4/7] x86: i8042: Correctly initialize the controller Bin Meng
2015-08-26 14:56   ` Simon Glass
2015-08-24  8:00 ` [U-Boot] [PATCH v3 5/7] video: cfb_console: Allow VGA device to work without i8042 keyboard Bin Meng
2015-08-25  4:13   ` Simon Glass
2015-08-25  7:54     ` Anatolij Gustschin
2015-08-26 14:56       ` Simon Glass
2015-08-25  7:45   ` Anatolij Gustschin
2015-08-24  8:00 ` [U-Boot] [PATCH v3 6/7] x86: crownbay: Enable on-board SMSC superio keyboard controller Bin Meng
2015-08-26 14:56   ` Simon Glass
2015-08-24  8:00 ` [U-Boot] [PATCH v3 7/7] video: ct69000: Remove unused codes Bin Meng
2015-08-25  5:04   ` Simon Glass
2015-08-25  7:49   ` Anatolij Gustschin
2015-08-26 14:56     ` Simon Glass
2015-08-25  4:13 ` [U-Boot] [PATCH v3 1/7] x86: i8042: " Simon Glass
2015-08-26 14:56   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox