aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2017-07-10 17:04:09 -0300
committerStefano Babic <sbabic@denx.de>2017-07-12 10:24:34 +0200
commit84b4690f26062d000481b66d60445aea20e1da99 (patch)
treec842ee7e871d18ee2ba5b9c85187c6f13dac8c94 /include/configs
parent00f43e51c5e77c3333784830305a2bbd4d55d2c0 (diff)
downloadu-boot-84b4690f26062d000481b66d60445aea20e1da99.zip
u-boot-84b4690f26062d000481b66d60445aea20e1da99.tar.gz
u-boot-84b4690f26062d000481b66d60445aea20e1da99.tar.bz2
wandboard: Use PARTUUID to specify the rootfs location
Currently the rootfs location is passed via mmcblk number and the problem with this approach is that the mmcblk number for the eMMC changes depending on the kernel version. In order to avoid such issue, use UUID method to specify the rootfs location. This change was made based on U-Boot commit: - ca4f338e2efece5196eb2178e5f7d07be828da6e Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/wandboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index afc5edf..be2f619 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -88,6 +88,7 @@
"fdt_addr=0x18000000\0" \
"ip_dyn=yes\0" \
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
+ "finduuid=part uuid mmc 0:1 uuid\0" \
"update_sd_firmware_filename=u-boot.imx\0" \
"update_sd_firmware=" \
"if test ${ip_dyn} = yes; then " \
@@ -129,6 +130,7 @@
#define CONFIG_BOOTCOMMAND \
"run findfdt; " \
+ "run finduuid; " \
"run distro_bootcmd"
#include <config_distro_bootcmd.h>