diff options
| author | Vaishnav Achath <[email protected]> | 2024-12-18 18:43:40 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-31 15:24:26 -0600 |
| commit | ed89c75771d339fa4c0ddd463f675ea10faf1534 (patch) | |
| tree | e1ca2d5021b5edffa4f8f9d6a6587fdda7040334 | |
| parent | e25900438256a0134e877f679b3b8a1af57d776d (diff) | |
arm: mach-k3: j722_spl: Add FAST XSPI boot mode
Fast XSPI boot mode is supported by J722S ROM, add that.
Signed-off-by: Vaishnav Achath <[email protected]>
Signed-off-by: Prasanth Babu Mantena <[email protected]>
Reviewed-by: Udit Kumar <[email protected]>
| -rw-r--r-- | arch/arm/mach-k3/include/mach/j722s_spl.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-k3/j722s/j722s_init.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/include/mach/j722s_spl.h b/arch/arm/mach-k3/include/mach/j722s_spl.h index eab8c511b7c..a91cc82448f 100644 --- a/arch/arm/mach-k3/include/mach/j722s_spl.h +++ b/arch/arm/mach-k3/include/mach/j722s_spl.h @@ -24,6 +24,7 @@ #define BOOT_DEVICE_DFU 0x0A #define BOOT_DEVICE_GPMC_NAND 0x0B #define BOOT_DEVICE_GPMC_NOR 0x0C +#define BOOT_DEVICE_FAST_XSPI 0x0D #define BOOT_DEVICE_XSPI 0x0E #define BOOT_DEVICE_NOBOOT 0x0F diff --git a/arch/arm/mach-k3/j722s/j722s_init.c b/arch/arm/mach-k3/j722s/j722s_init.c index 01b00681f68..c4d99142e48 100644 --- a/arch/arm/mach-k3/j722s/j722s_init.c +++ b/arch/arm/mach-k3/j722s/j722s_init.c @@ -219,6 +219,8 @@ static u32 __get_primary_bootmedia(u32 devstat) fallthrough; case BOOT_DEVICE_XSPI: fallthrough; + case BOOT_DEVICE_FAST_XSPI: + fallthrough; case BOOT_DEVICE_SPI: return BOOT_DEVICE_SPI; |
