]> git.sur5r.net Git - u-boot/commit
dm: usb: Add support for USB keyboards with driver model
authorSimon Glass <sjg@chromium.org>
Tue, 8 Sep 2015 17:15:11 +0000 (11:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:39 +0000 (20:13 -0700)
commit34ab37eef5a5f8023abc657ab38f7b9fe11c38b3
tree3a8917301e9cffb9286c343a04f45316d4d164da
parent2b24e09c66480f3723b137f434a6c3b0db764817
dm: usb: Add support for USB keyboards with driver model

Switch USB keyboards over to use driver model instead of scanning with the
horrible usb_get_dev_index() function. This involves creating a new uclass
for keyboards, although so far there is no API.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_usb.c
common/usb_kbd.c
include/dm/uclass-id.h