public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/7] arch: mach-imx: imx8m: Add FlexSPI addresses for SPL booting
@ 2022-02-05 16:22 Adam Ford
  2022-02-05 16:22 ` [PATCH 2/7] imx8m: Add FlexSPI Configuration Block Adam Ford
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Adam Ford @ 2022-02-05 16:22 UTC (permalink / raw)
  To: u-boot
  Cc: marcel.ziswiler, tharvey, Adam Ford, Stefano Babic, Fabio Estevam,
	NXP i.MX U-Boot Team

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@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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-06 17:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-05 16:22 [PATCH 1/7] arch: mach-imx: imx8m: Add FlexSPI addresses for SPL booting Adam Ford
2022-02-05 16:22 ` [PATCH 2/7] imx8m: Add FlexSPI Configuration Block Adam Ford
2022-02-06 17:55   ` Adam Ford
2022-02-05 16:22 ` [PATCH 3/7] imx8m: add image cfg for i.MX8MM FlexSPI booting Adam Ford
2022-02-05 16:22 ` [PATCH 4/7] arm: dts: imx8mm: Create generic DTSI for booting from FlexSPI Adam Ford
2022-02-05 16:22 ` [PATCH 5/7] arm: dts: imx8mm-beacon: Enhange FlexSPI/flash nodes Adam Ford
2022-02-05 16:22 ` [PATCH 6/7] arm: dts: Add imx8mm-beacon-kit-flexspi Adam Ford
2022-02-05 16:22 ` [PATCH 7/7] imx8m: Add imx8mm_beacon_fspi Adam Ford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox