mvebu: clearfog: use partition uuid for root= bootarg
authorJosua Mayer <josua.mayer97@gmail.com>
Thu, 19 Oct 2017 07:22:11 +0000 (09:22 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 Mar 2018 20:33:07 +0000 (21:33 +0100)
commit9a820765924a311b7d7c8ccc740c86370c7efd26
tree7374db2aa8726bd28b6e5854b46f6536758a0a29
parent98aa44ce79c7f074ec2f5d627c1fe8a0d7a5a3e1
mvebu: clearfog: use partition uuid for root= bootarg

U-Boot already knows where it found the boot.scr, and
figuring out the partition UUID becomes trivial at this point.
This change allows booting OpenWrt from whatever storage it has been
flashed to: SD card, eMMC, USB disk or SATA disk.

Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
[replace lede with openwrt, redact commit message]
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
target/linux/mvebu/image/cfbase-boot.script
target/linux/mvebu/image/cfpro-boot.script