Files
u-boot/arch/arm/include/asm
Jonas Karlman 99a9b6ba6c rockchip: spl: Add a read_brom_bootsource_id() helper
The bootsource ids reported by BootROM of RK3528 and RK3576 for e.g.
SPI NOR and USB differs slightly compared to prior SoCs:

- Booting from sfc0 (ROCK 4D) report the normal bootsource id 0x3.
- Booting from sfc1 M1 (NanoPi M5) report a new bootsource id 0x23.
- Booting from sfc1 M0 has not been tested (no board using this config).
- Booting from USB report a new bootsource id 0x81 on RK3528 and RK3576.

Add a helper function to read the bootsource id. This helper function
will be used to translate the new values to the common BROM_BOOTSOURCE
enum values on RK3528 and RK3576.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2025-11-02 12:14:09 -06:00
..
2022-07-08 17:57:33 -04:00
2018-09-25 21:49:18 -04:00
2023-08-17 16:39:20 -04:00
2021-09-24 14:30:46 -04:00
2024-07-15 12:12:16 -06:00
2020-01-24 11:19:52 -05:00
2022-01-19 18:11:34 +01:00
2023-01-31 15:46:39 +01:00
2025-03-10 07:41:16 +01:00
2022-04-01 16:56:53 -04:00
2023-05-31 14:05:34 -04:00
2021-09-30 08:08:56 -04:00