]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: px30: insert u-boot, spl-boot-device into U-Boot device tree
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 9 Jan 2023 10:36:43 +0000 (11:36 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 16 Jan 2023 10:01:11 +0000 (18:01 +0800)
commit600e0177e7e473fb61de2497eac7a7e8a04059be
treedaca269a59a3bdeece5e88994bb0467a09ba906f
parent389823738481b43ceadc948b15e0203ae591fcf8
rockchip: px30: insert u-boot, spl-boot-device into U-Boot device tree

It is possible to boot U-Boot proper from a different storage medium
than the one used by the BOOTROM to load the SPL. This information is
stored in the u-boot,spl-boot-device Device Tree property and is
accessible from U-Boot proper so that it has knowledge at runtime where
it was loaded from.

Let's add support for this feature for px30.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
arch/arm/mach-rockchip/px30/px30.c