]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3399: inject 'u-boot, spl-boot-device' for next-stage
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 24 May 2018 15:15:52 +0000 (17:15 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 20 Jul 2018 23:55:26 +0000 (01:55 +0200)
commit9deed89118e38f7c1477fd92e39723271b6b27d3
tree03ecdbdc1bb4c04cebd327389e7b06a0abf587ef
parent5ac1367134ba1ffbb7f57abe0981b68f00efea30
rockchip: rk3399: inject 'u-boot, spl-boot-device' for next-stage

This implements the new 'spl_perform_fixups' hook for RK3399-based
boards and injects the /chosen/u-boot,spl-boot-device with an ofpath
corresponding to the boot device used.

The intended usage is for the full U-Boot stage to evaluate this in
scripts and then adapt its boot-order when using distro-boot.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
arch/arm/mach-rockchip/rk3399-board-spl.c