aboutsummaryrefslogtreecommitdiff
path: root/include/keyboard.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-03-19 15:20:25 -0600
committerTom Rini <trini@konsulko.com>2018-04-06 17:04:33 -0400
commitb79b9f198bad2c2ad58319a88bd5adca3a54b864 (patch)
tree213b2fa103821bb5723550f3f8d68680b9e9edef /include/keyboard.h
parent22fc7b6cd6e66911c58848d03eb0f1ddee024137 (diff)
downloadu-boot-b79b9f198bad2c2ad58319a88bd5adca3a54b864.zip
u-boot-b79b9f198bad2c2ad58319a88bd5adca3a54b864.tar.gz
u-boot-b79b9f198bad2c2ad58319a88bd5adca3a54b864.tar.bz2
input: Drop PS/2 keyboard support
This is not used by any current board and has not been converted to driver model. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/keyboard.h')
-rw-r--r--include/keyboard.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/keyboard.h b/include/keyboard.h
index 9b51e20..7561954 100644
--- a/include/keyboard.h
+++ b/include/keyboard.h
@@ -1,7 +1,6 @@
#ifndef __KEYBOARD_H
#define __KEYBOARD_H
-#ifdef CONFIG_DM_KEYBOARD
#include <input.h>
#include <stdio_dev.h>
@@ -77,30 +76,4 @@ struct keyboard_ops {
#define keyboard_get_ops(dev) ((struct keyboard_ops *)(dev)->driver->ops)
-#else
-
-#ifdef CONFIG_PS2MULT
-#include <ps2mult.h>
-#endif
-
-#if !defined(kbd_request_region) || \
- !defined(kbd_request_irq) || \
- !defined(kbd_read_input) || \
- !defined(kbd_read_status) || \
- !defined(kbd_write_output) || \
- !defined(kbd_write_command)
-#error PS/2 low level routines not defined
-#endif
-
-extern int kbd_init (void);
-extern void handle_scancode(unsigned char scancode);
-extern int kbd_init_hw(void);
-extern void pckbd_leds(unsigned char leds);
-#endif /* !CONFIG_DM_KEYBOARD */
-
-#if defined(CONFIG_ARCH_MPC8540) || \
- defined(CONFIG_ARCH_MPC8541) || defined(CONFIG_ARCH_MPC8555)
-int ps2ser_check(void);
-#endif
-
#endif /* __KEYBOARD_H */