summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorJason Zhu <jason.zhu@rock-chips.com>2024-03-22 20:50:20 +0000
committerKever Yang <kever.yang@rock-chips.com>2024-04-26 15:47:03 +0800
commitaa2400733996b47d93a2bb030745bfc9fb3475ab (patch)
treef482d94ae01dcac113065e093db9731aef438115 /arch/arm/include/asm
parentd097f9e1299a3bdb7de468f0d9bbc63932f461cd (diff)
downloadu-boot-aa2400733996b47d93a2bb030745bfc9fb3475ab.tar.gz
u-boot-aa2400733996b47d93a2bb030745bfc9fb3475ab.tar.bz2
u-boot-aa2400733996b47d93a2bb030745bfc9fb3475ab.zip
rockchip: bootrom: Sync bootsource id enum from bootrom
Add more bootsource id: 1. BROM_BOOTSOURCE_UNKNOWN 2. BROM_BOOTSOURCE_I2C 3. BROM_BOOTSOURCE_SPI Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> [jonas@kwiboo.se: Update commit message] Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-rockchip/bootrom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/bootrom.h b/arch/arm/include/asm/arch-rockchip/bootrom.h
index 4276a0f681..ecf3b4e742 100644
--- a/arch/arm/include/asm/arch-rockchip/bootrom.h
+++ b/arch/arm/include/asm/arch-rockchip/bootrom.h
@@ -43,11 +43,14 @@ void back_to_bootrom(enum rockchip_bootrom_cmd brom_cmd);
* Boot-device identifiers as used by the BROM
*/
enum {
+ BROM_BOOTSOURCE_UNKNOWN = 0,
BROM_BOOTSOURCE_NAND = 1,
BROM_BOOTSOURCE_EMMC = 2,
BROM_BOOTSOURCE_SPINOR = 3,
BROM_BOOTSOURCE_SPINAND = 4,
BROM_BOOTSOURCE_SD = 5,
+ BROM_BOOTSOURCE_I2C = 8,
+ BROM_BOOTSOURCE_SPI = 9,
BROM_BOOTSOURCE_USB = 10,
BROM_LAST_BOOTSOURCE = BROM_BOOTSOURCE_USB
};