On Wed, Sep 27, 2017 at 9:19 AM, Rob Clark <[email protected]> wrote: > stdin might not be set, which would cause iomux_doenv() to fail > therefore causing probe_usb_keyboard() to fail. Furthermore if we do > have iomux enabled, the sensible thing (in terms of user experience) > would be to simply add ourselves to the list of stdin devices. > > This fixes an issue with usbkbd on dragonboard410c with distro- > bootcmd, where stdin is not set (so stdinname is null). > > Signed-off-by: Rob Clark <[email protected]> > --- > Somehow this patch was dropped on the floor. I don't remember > which version # this is up to, search the list if you care. But > this is the latest. I only noticed it was missing because u-boot > crashes when you boot with usb-keyboard plugged in (at least on > db410c) without it. So someone please apply this patch before it > gets lost again. > > common/usb_kbd.c | 46 +++++++++++++++++++++++++++++++--------------- > include/console.h | 2 -- > 2 files changed, 31 insertions(+), 17 deletions(-) >
Reviewed-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

