[U-Boot] [PATCH] ls2080: Add USB boot to distro boot order

york sun york.sun at nxp.com
Fri Oct 21 16:00:17 CEST 2016


On 10/21/2016 06:43 AM, Alexander Graf wrote:
> The LS2080 chips have USB available, so we can easily add USB boot
> support to the distro boot order.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> ---
>  include/configs/ls2080ardb.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
> index 045cee6..79b15f2 100644
> --- a/include/configs/ls2080ardb.h
> +++ b/include/configs/ls2080ardb.h
> @@ -322,6 +322,7 @@ unsigned long get_board_sys_clk(void);
>  #include <config_distro_defaults.h>
>
>  #define BOOT_TARGET_DEVICES(func) \
> +	func(USB, usb, 0) \
>  	func(MMC, mmc, 0) \
>  	func(SCSI, scsi, 0) \
>  	func(DHCP, dhcp, na)
>
Reviewed-by: York Sun <york.sun at nxp.com>


More information about the U-Boot mailing list