Skip to contentSkip to conversation

imx: mx7: fix DDRC size in A7-M4 mapping table

PATCH Superseded Igor Opaniuk 1 participant 1 message Jun 22, 2020

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx: mx7: fix DDRC size in A7-M4 mapping table

From: Igor Opaniuk <[email protected]>

According to i.MX 7Solo Applications Processor Reference Manual, 2.1.3 Cortex-M4 Memory Map, M4 can address only 1536MB of DDRC (Start Address: 0x8000_0000; End Address: 0xDFFF_FFFF). Correct DDRC size to 0x60000000.

Fixes c0f037f6("mach-imx: bootaux: elf firmware support")

---

 arch/arm/mach-imx/mx7/soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/mx7/soc.c +1 -1
index 798fe74..9cb61f5 100644
@@ -218,7 +218,7 @@ const struct rproc_att hostmap[] = {
 	{ 0x00940000, 0x00940000, 0x20000 }, /* OCRAM_PXP */
 	{ 0x20240000, 0x00940000, 0x20000 }, /* OCRAM_PXP */
 	{ 0x10000000, 0x80000000, 0x0fff0000 }, /* DDR Code alias */
-	{ 0x80000000, 0x80000000, 0xe0000000 }, /* DDRC */
+	{ 0x80000000, 0x80000000, 0x60000000 }, /* DDRC */
 	{ /* sentinel */ }
 };
 #endif
Signature · 1 line
2.7.4