diff options
author | Simon Glass <sjg@chromium.org> | 2015-10-18 21:17:10 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-11-19 20:13:39 -0700 |
commit | e84421d8f3fe4f4b6956c9045b22729383620442 (patch) | |
tree | 81d2d363b1b9e72e05987bcd673e53e38c43d327 /common | |
parent | 34ab37eef5a5f8023abc657ab38f7b9fe11c38b3 (diff) | |
download | u-boot-imx-e84421d8f3fe4f4b6956c9045b22729383620442.zip u-boot-imx-e84421d8f3fe4f4b6956c9045b22729383620442.tar.gz u-boot-imx-e84421d8f3fe4f4b6956c9045b22729383620442.tar.bz2 |
dm: input: Create a keyboard uclass
Add a uclass for keyboard input, mirroring the existing stdio methods.
This is enabled by a new CONFIG_DM_KEYBOARD option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/usb_kbd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 137ec65..5c6a372 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -649,12 +649,6 @@ U_BOOT_DRIVER(usb_kbd) = { .probe = usb_kbd_probe, }; -/* TODO(sjg@chromium.org): Move this into a common location */ -UCLASS_DRIVER(keyboard) = { - .id = UCLASS_KEYBOARD, - .name = "keyboard", -}; - static const struct usb_device_id kbd_id_table[] = { { .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS | |