warp: Use PARTUUID to specify the rootfs location
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 11 Jul 2017 17:24:29 +0000 (14:24 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Jul 2017 08:25:52 +0000 (10:25 +0200)
commit283c2a65538ec62e2b0cd1664ae2eddfd9265036
tree6f66edf611fc2f7c184782876cc8e1486bae5a18
parent0f29a61c5339d667aa9243902fb42fb3033c3253
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>
configs/warp_defconfig
include/configs/warp.h