summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-07-11 14:24:29 -0300
committerStefano Babic <sbabic@denx.de>2017-07-12 10:25:52 +0200
commit283c2a65538ec62e2b0cd1664ae2eddfd9265036 (patch)
tree6f66edf611fc2f7c184782876cc8e1486bae5a18 /configs
parent0f29a61c5339d667aa9243902fb42fb3033c3253 (diff)
warp: Use PARTUUID to specify the rootfs location
warp 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 4.12 kernel. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'configs')
-rw-r--r--configs/warp_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/warp_defconfig b/configs/warp_defconfig
index e29afe7b4a1..36b3b160653 100644
--- a/configs/warp_defconfig
+++ b/configs/warp_defconfig
@@ -10,6 +10,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_I2C=y
CONFIG_CMD_USB=y
CONFIG_CMD_DFU=y