[PATCH 1/7] arch: mach-imx: imx8m: Add FlexSPI addresses for SPL booting
Adam Ford
aford173 at gmail.com
Sat Feb 5 17:22:33 CET 2022
In order to boot from FlexSPI, we need to calculate
SYS_UBOOT_BASE, and the math depends on these registers.
Signed-off-by: Adam Ford <aford173 at gmail.com>
diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h
index b800da13a1..209114c810 100644
--- a/arch/arm/include/asm/arch-imx8m/imx-regs.h
+++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h
@@ -48,6 +48,8 @@
#ifdef CONFIG_IMX8MM
#define USDHC3_BASE_ADDR 0x30B60000
#endif
+#define QSPI0_BASE_ADDR 0x30BB0000
+#define QSPI0_AMBA_BASE 0x08000000
#define TZASC_BASE_ADDR 0x32F80000
--
2.32.0
More information about the U-Boot
mailing list