Commit 96d1791189f1cd4a81e77f7b39d21fa160236981

Authored by Ye Li
1 parent 90cf964cb4

MLK-25002 imx8mn_evk: Fix mtest address issue

Since optee has moved to 0x56000000 on iMX8MN EVK. So mtest address
will conflict with optee and u-boot relocation. Set the mtest space
after the optee reserved region and adjust size for 1GB DDR3L EVK.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

include/configs/imx8mn_evk.h
... ... @@ -205,8 +205,8 @@
205 205 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
206 206 #endif
207 207  
208   -#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM
209   -#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE >> 1))
  208 +#define CONFIG_SYS_MEMTEST_START 0x60000000
  209 +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE >> 2))
210 210  
211 211 #define CONFIG_MXC_UART_BASE UART2_BASE_ADDR
212 212