]> git.ipfire.org Git - thirdparty/u-boot.git/commit
rockchip: spl: Add common handling of USB bootsource_id 0x81
authorJonas Karlman <jonas@kwiboo.se>
Sat, 31 Jan 2026 23:38:12 +0000 (23:38 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 10 Mar 2026 16:07:02 +0000 (10:07 -0600)
commitf273b393f7fcdb03c839e72ca56596aa02af9aff
tree164c3b82af678ef68f8dc198f122c75a4de8e04d
parent109c7ef87d775d998f919710ae2b486dcb813e60
rockchip: spl: Add common handling of USB bootsource_id 0x81

Multiple newer Rockchip SoCs report 0x81 instead of 0xa when booting
from USB, i.e. on RK3576, RK3528, RK3506 and RV1106.

Move the bootsource_id 0x81 handling currently only used for RK3528 to
the common read_brom_bootsource_id() to reduce the need to override this
function when support for newer SoCs is introduced.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3528/rk3528.c
arch/arm/mach-rockchip/spl.c