diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2017-07-10 17:04:10 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-07-12 10:24:48 +0200 |
commit | 35ba390d6256741b48823a5b70e28ea40664c83e (patch) | |
tree | 3e8646cf77bf1d6815da46573f1a4c9a277d8ec4 /include/configs/mx6cuboxi.h | |
parent | 84b4690f26062d000481b66d60445aea20e1da99 (diff) | |
download | u-boot-35ba390d6256741b48823a5b70e28ea40664c83e.tar.gz |
mx6cuboxi: 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/mx6cuboxi.h')
-rw-r--r-- | include/configs/mx6cuboxi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h index 71acc7c4db..5fda6bd867 100644 --- a/include/configs/mx6cuboxi.h +++ b/include/configs/mx6cuboxi.h @@ -95,6 +95,7 @@ "console=" CONSOLE_DEV ",115200\0" \ "bootm_size=0x10000000\0" \ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \ + "finduuid=part uuid mmc 0:1 uuid\0" \ "update_sd_firmware=" \ "if test ${ip_dyn} = yes; then " \ "setenv get_cmd dhcp; " \ @@ -123,6 +124,7 @@ #define CONFIG_BOOTCOMMAND \ "run findfdt; " \ + "run finduuid; " \ "run distro_bootcmd" #define BOOT_TARGET_DEVICES(func) \ |