diff mbox series

mips: vcoreiii: Ajust CONFIG_SYS_MEMTEST_END

Message ID 20200206094319.20043-1-lars.povlsen@microchip.com
State Accepted
Commit ea148789318c8152acb0a3974d4a8342dbd6b901
Delegated to: Daniel Schwierzeck
Headers show
Series mips: vcoreiii: Ajust CONFIG_SYS_MEMTEST_END | expand

Commit Message

Lars Povlsen Feb. 6, 2020, 9:43 a.m. UTC
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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Daniel Schwierzeck Feb. 10, 2020, 2:49 p.m. UTC | #1
Am 06.02.20 um 10:43 schrieb Lars Povlsen:
> 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 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

applied to u-boot-mips, thanks.
diff mbox series

Patch

diff --git a/include/configs/vcoreiii.h b/include/configs/vcoreiii.h
index e69456ef7c..6a2f80c2fb 100644
--- a/include/configs/vcoreiii.h
+++ b/include/configs/vcoreiii.h
@@ -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