]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: mx7: fix DDRC size in A7-M4 mapping table
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Wed, 15 Jul 2020 10:30:52 +0000 (13:30 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 27 Jul 2020 12:00:36 +0000 (14:00 +0200)
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")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
arch/arm/mach-imx/mx7/soc.c

index 798fe74a3d6127a3bad0e9c02d8f45673486440e..9cb61f5c3491e41dbad01a4c199d2923c5f76502 100644 (file)
@@ -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