]> git.sur5r.net Git - u-boot/commit
rockchip: use UUID for root partitions
authorKever Yang <kever.yang@rock-chips.com>
Tue, 25 Jul 2017 04:00:05 +0000 (12:00 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:02 +0000 (14:59 +0200)
commit42ec247e698824bda29e3ee18a0e531caf7633ef
tree57cd557265e538512211e291d8d9c069f8389883
parent4436c5db051be2f8f39629a98c4b8e51a1ea77cd
rockchip: use UUID for root partitions

We use to use /dev/mmcbl0p7 as root partition, and pass it
to kernel by cmdline, but the mmc number in kernel in not
fixed, we need to change the bootargs to adapt it from time
to time.
We can use the UUID to fix it, the ID is from:
https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
ARM 32bit: 69dad710-2ce4-4e3c-b16c-21a1d49abed3
ARM 64bit: b921b045-1df0-41c3-af44-4c6f280d3fae

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
include/configs/rockchip-common.h