]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pico-imx6ul: Add bmode support
authorFabio Estevam <festevam@gmail.com>
Tue, 4 Sep 2018 13:23:10 +0000 (10:23 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 14 Sep 2018 13:04:24 +0000 (15:04 +0200)
The 'bmode' command is helpful for switching the boot media.

In the case of pico-imx6ul there are two possible boot media:
eMMC or USB.

To boot from eMMC:

=> bmode emmc

To boot from USB (via Serial Download Protocol):

=> bmode usb

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
configs/pico-imx6ul_defconfig

index cae7ded1fa7e0b89eca660326f7b1e02920feaa5..daa898fb22b3adb75fd0188c95fcc457d10b3482 100644 (file)
@@ -9,7 +9,6 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"