]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: vcoreiii: Ajust CONFIG_SYS_MEMTEST_END
authorLars Povlsen <lars.povlsen@microchip.com>
Thu, 6 Feb 2020 09:43:18 +0000 (10:43 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Thu, 9 Apr 2020 16:55:59 +0000 (18:55 +0200)
This patch ajust CONFIG_SYS_MEMTEST_END for vcoreiii-based systems to
avoid overwriting the relocated u-boot. The former setting was too
agressive with networking etc. enabled on some platforms.

Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
include/configs/vcoreiii.h

index e69456ef7ce2bcf10776b0fe17f751a57dee27b1..6a2f80c2fb42dd80c1cd96c83c4c629ded9124d7 100644 (file)
@@ -39,7 +39,8 @@
 #define CONFIG_CONS_INDEX              1
 
 #define CONFIG_SYS_MEMTEST_START       CONFIG_SYS_SDRAM_BASE
-#define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_SDRAM_SIZE - SZ_1M)
+#define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_SDRAM_BASE + \
+                                        CONFIG_SYS_SDRAM_SIZE - SZ_4M)
 
 #define CONFIG_SYS_MONITOR_BASE         CONFIG_SYS_TEXT_BASE