]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3399: change boot_target based on u-boot, spl-boot-device
authorKlaus Goger <klaus.goger@theobroma-systems.com>
Thu, 24 May 2018 15:15:53 +0000 (17:15 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 20 Jul 2018 23:55:26 +0000 (01:55 +0200)
commit6ed55832b809111cfd2b3cfcbb718d2f3eaae7f8
tree1c86b5b64c27840a0a9e08893fb496b471772960
parent9deed89118e38f7c1477fd92e39723271b6b27d3
rockchip: rk3399: change boot_target based on u-boot, spl-boot-device

The order distroboot searches for a boot.scr is fixed at compile time.
To make BIOS_DISABLE work as expected and boot from mmc1 instead of
mmc0 if enabled, we need to change the environment at runtime.
Especially as commit: 7ffdda212d ("rockchip: rk3399-puma: add boot-on
regulator to override BIOS_DISABLE") enables the eMMC in U-Boot even
if BIOS_DISABLE is active.

Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
board/theobroma-systems/puma_rk3399/puma-rk3399.c