mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
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>
This commit is contained in:
@@ -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 |
|
||||
|
Reference in New Issue
Block a user