]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: px30: list possible SPL boot devices
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 9 Jan 2023 10:36:42 +0000 (11:36 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 16 Jan 2023 10:01:11 +0000 (18:01 +0800)
commit8b390a2dfa693099862020ae4ed4179cc0d1ea4b
treee3d7ccab43fe64aaa6d705aafdba48f361832673
parentb29f3367bdc7c2705f612b04a342aeccefc8fd82
rockchip: px30: list possible SPL boot devices

BOOTROM sets a bit in a CPU register so that the software can know from
where the first stage bootloader was booted. One use case for this is to
specify the default loading medium for U-Boot proper to match the one
used by the BOOTROM to load the SPL (same-as-spl in
u-boot,spl-boot-order).

Let's create the mapping between BOOTROM value and Device Tree node
names for MMC devices.

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