arm: mach-k3: Add HyperFlash boot mode support
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 13 Aug 2020 09:26:15 +0000 (14:56 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 15 Sep 2020 13:21:52 +0000 (18:51 +0530)
HBMC controller on TI K3 SoC provides MMIO access to HyperFlash similar
to legacy Parallel CFI NOR flashes. Therefore alias HyperFlash bootmode
to NOR boot to enable SPL to load next stage using NOR boot flow.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm/mach-k3/include/mach/j721e_spl.h

index 3fa85ca..e894791 100644 (file)
@@ -15,6 +15,7 @@
 #define BOOT_DEVICE_ETHERNET           0x04
 #define BOOT_DEVICE_I2C                        0x06
 #define BOOT_DEVICE_UART               0x07
+#define BOOT_DEVICE_NOR                        BOOT_DEVICE_HYPERFLASH
 
 /* With BootMode B = 1 */
 #define BOOT_DEVICE_MMC2               0x10