aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-07-10 15:59:12 -0300
committerStefano Babic <sbabic@denx.de>2017-07-12 10:23:37 +0200
commit00f43e51c5e77c3333784830305a2bbd4d55d2c0 (patch)
treedd14ac823a6c744b7953f51819b19dcb4997f1ce /configs
parentca62e5d043640c4b4120d7d8ed292e813a17b58d (diff)
downloadu-boot-00f43e51c5e77c3333784830305a2bbd4d55d2c0.zip
u-boot-00f43e51c5e77c3333784830305a2bbd4d55d2c0.tar.gz
u-boot-00f43e51c5e77c3333784830305a2bbd4d55d2c0.tar.bz2
mx6sabre: Use PARTUUID to specify the rootfs location
mx6sabre boards can run different kernel versions, such as NXP 4.1 or mainline. 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. Succesfully tested booting a NXP 4.1 and also a mainline kernel on a mx6qsabresd and mx6dlsabreauto. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/mx6sabreauto_defconfig1
-rw-r--r--configs/mx6sabresd_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index f904cbf..236af95 100644
--- a/configs/mx6sabreauto_defconfig
+++ b/configs/mx6sabreauto_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_MMC=y
+CONFIG_CMD_PART=y
CONFIG_CMD_SF=y
CONFIG_CMD_I2C=y
CONFIG_CMD_USB=y
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 972e971..d8e05cf 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_MMC=y
+CONFIG_CMD_PART=y
CONFIG_CMD_SF=y
CONFIG_CMD_I2C=y
CONFIG_CMD_USB=y