[U-Boot] [PATCH 1/2] board: tbs2910: always enable usbkbd

Stefano Babic sbabic at denx.de
Thu Jul 28 12:17:49 CEST 2016


On 27/07/2016 16:07, Soeren Moch wrote:
> 'usb start' is much faster now, so always enable usb keyboard
> 
> Signed-off-by: Soeren Moch <smoch at web.de>
> ---
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: u-boot at lists.denx.de
> ---
>  include/configs/tbs2910.h | 13 ++++++-------
>  1 file changed, 6 insertions(+), 7 deletions(-)
> 
> diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
> index ec0bf05..7c89e5f 100644
> --- a/include/configs/tbs2910.h
> +++ b/include/configs/tbs2910.h
> @@ -129,9 +129,9 @@
>  #define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
>  #define CONFIG_SYS_STDIO_DEREGISTER
>  #define CONFIG_PREBOOT \
> +	"usb start; " \
>  	"if hdmidet; then " \
> -		"usb start; " \
> -		"run set_con_usb_hdmi; " \
> +		"run set_con_hdmi; " \
>  	"else " \
>  		"run set_con_serial; " \
>  	"fi;"
> @@ -181,12 +181,11 @@
>  			"bootm 0x10800000 0x10d00000\0" \
>  	"console=ttymxc0\0" \
>  	"fan=gpio set 92\0" \
> -	"set_con_serial=setenv stdin serial; " \
> -			"setenv stdout serial; " \
> +	"set_con_serial=setenv stdout serial; " \
>  			"setenv stderr serial;\0" \
> -	"set_con_usb_hdmi=setenv stdin serial,usbkbd; " \
> -			"setenv stdout serial,vga; " \
> -			"setenv stderr serial,vga;\0"
> +	"set_con_hdmi=setenv stdout serial,vga; " \
> +			"setenv stderr serial,vga;\0" \
> +	"stdin=serial,usbkbd;\0"
>  
>  #define CONFIG_BOOTCOMMAND \
>  	"mmc rescan; " \
> 


Reviewed-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic
-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list