[U-Boot] [PATCH v5 1/3] rockchip: firefly: Add some macros to enable the usb keyboard

leo leo.wen at rock-chips.com
Tue Jul 25 12:50:18 UTC 2017


hi,Philipp

I'll modify them.

thanks,

-Leo


在 2017年07月25日 星期二 08:10 下午, Dr. Philipp Tomsich 写道:
>> On 25 Jul 2017, at 13:00, Leo Wen <leo.wen at rock-chips.com> 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 <leo.wen at rock-chips.com>
>> ---
>> 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
>>
>>
>
>
>




More information about the U-Boot mailing list