summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2021-06-15 20:38:38 -0300
committerStefano Babic <sbabic@denx.de>2021-07-10 16:53:34 +0200
commit364212ca291ca884f692be93d6779ba78311ce12 (patch)
tree99b58266f85a9e3170ca1c1dda8e8a9ae913a88e /include/configs
parent31273c5af52932c5a2b3e1d5e6a2e668e442d259 (diff)
downloadu-boot-364212ca291ca884f692be93d6779ba78311ce12.tar.gz
u-boot-364212ca291ca884f692be93d6779ba78311ce12.tar.bz2
u-boot-364212ca291ca884f692be93d6779ba78311ce12.zip
smegw01: Allow booting the Yocto image by default
On the Yocto image there is a single partition and the kernel and dtb are present in the 'boot' directory. Change it accordingly so that the board can boot the Yocto image by default. Use the generic 'load' command instead, which is able to read from an ext4 partition. Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/smegw01.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h
index 50f00136ac..6f7b46e49b 100644
--- a/include/configs/smegw01.h
+++ b/include/configs/smegw01.h
@@ -29,11 +29,11 @@
"bootm_size=0x10000000\0" \
"mmcdev=0\0" \
"mmcpart=1\0" \
- "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+ "mmcroot=/dev/mmcblk0p1 rootwait rw\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} " \
"root=${mmcroot}\0" \
- "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
- "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdtfile}\0" \
+ "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} boot/${image}\0" \
+ "loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} boot/${fdtfile}\0" \
"mmcboot=echo Booting from mmc ...; " \
"run mmcargs; " \
"if run loadfdt; then " \