> On 25 Jul 2017, at 13:00, Leo Wen <[email protected]> wrote: > > Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in > the rk3288_common.h,can support usb keyboard device when these four > macros are enabled. > > Signed-off-by: Leo Wen <[email protected]> > --- > include/configs/rk3288_common.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h > index 488d679..9a74ef3 100644 > --- a/include/configs/rk3288_common.h > +++ b/include/configs/rk3288_common.h > @@ -84,6 +84,10 @@ > #define CONFIG_USB_HOST_ETHER > #define CONFIG_USB_ETHER_SMSC95XX > #define CONFIG_USB_ETHER_ASIX > +#define CONFIG_USB_KEYBOARD > +#define CONFIG_DM_KEYBOARD
Both CONFIG_USB_KEYBOARD and CONFIG_DM_KEYBOARD are supported via defconfig. Please do not add these to the common header file, if we can enable them via defconfig. > +#define CONFIG_SYS_USB_EVENT_POLL This is also available via defconfig. > +#define CONFIG_SYS_STDIO_DEREGISTER 1 Same. > #endif > #define ENV_MEM_LAYOUT_SETTINGS \ > "scriptaddr=0x00000000\0" \ > -- > 2.7.4 > > _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

