[PATCH 3/7] imx8m: add image cfg for i.MX8MM FlexSPI booting

Adam Ford aford173 at gmail.com
Sat Feb 5 17:22:35 CET 2022


The imx8m mini can boot from FlexSPI, but it changes the
BOOT_FROM and LOADER addresses, so a different cfg file is
needed to generate images to boot from FlexSPI.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/arch/arm/mach-imx/imx8m/imximage-8mm-flexspi-lpddr4.cfg b/arch/arm/mach-imx/imx8m/imximage-8mm-flexspi-lpddr4.cfg
new file mode 100644
index 0000000000..ddcbd11eea
--- /dev/null
+++ b/arch/arm/mach-imx/imx8m/imximage-8mm-flexspi-lpddr4.cfg
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2021 NXP
+ */
+
+#define __ASSEMBLY__
+
+BOOT_FROM	fspi
+LOADER		u-boot-spl-ddr.bin	0x7E2000
-- 
2.32.0



More information about the U-Boot mailing list