aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/include/mach/j721e_spl.h
diff options
context:
space:
mode:
authorJonathan Humphreys <j-humphreys@ti.com>2024-02-23 18:23:06 -0600
committerTom Rini <trini@konsulko.com>2024-03-05 08:39:49 -0500
commit85aca577f6db5e7fc594b01defcceaedfecfc026 (patch)
tree76dac7852e63aec5e9e401dd44f385fa01be8806 /arch/arm/mach-k3/include/mach/j721e_spl.h
parent5fc08887da6b70a5bc5656be91419950406c2c26 (diff)
downloadu-boot-85aca577f6db5e7fc594b01defcceaedfecfc026.zip
u-boot-85aca577f6db5e7fc594b01defcceaedfecfc026.tar.gz
u-boot-85aca577f6db5e7fc594b01defcceaedfecfc026.tar.bz2
arm: mach-k3: j721e: Enable OSPI boot
Add boot ROM XSPI bootmode, and set to BOOT_DEVICE_SPI if detected. Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com> Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/include/mach/j721e_spl.h')
-rw-r--r--arch/arm/mach-k3/include/mach/j721e_spl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-k3/include/mach/j721e_spl.h b/arch/arm/mach-k3/include/mach/j721e_spl.h
index ed3d733..aaee653 100644
--- a/arch/arm/mach-k3/include/mach/j721e_spl.h
+++ b/arch/arm/mach-k3/include/mach/j721e_spl.h
@@ -24,8 +24,9 @@
#define BOOT_DEVICE_UFS 0x13
#define BOOT_DEVIE_GPMC 0x14
#define BOOT_DEVICE_PCIE 0x15
-#define BOOT_DEVICE_MMC2_2 0x16
-#define BOOT_DEVICE_RAM 0x17
+#define BOOT_DEVICE_XSPI 0x16
+#define BOOT_DEVICE_RAM 0x17
+#define BOOT_DEVICE_MMC2_2 0xFF /* Invalid value */
/* Backup boot modes with MCU Only = 0 */
#define BACKUP_BOOT_DEVICE_RAM 0x0