embestmx6boards: Use PARTUUID to specify the rootfs location
authorFabio Berton <fabio.berton@ossystems.com.br>
Mon, 10 Jul 2017 20:04:11 +0000 (17:04 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Jul 2017 08:25:04 +0000 (10:25 +0200)
commit0f29a61c5339d667aa9243902fb42fb3033c3253
treea5e331637e2b844a7fd6388f0d865ffc7cfc83f1
parent35ba390d6256741b48823a5b70e28ea40664c83e
embestmx6boards: 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.

Also add CONFIG_BOOTCOMMAND to run finduuid function and distro_bootcmd.

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>
include/configs/embestmx6boards.h