diff mbox series

[v2,06/18] am335x, guardian: add memtest address range

Message ID 20210422133152.16231-7-Gireesh.Hiremath@in.bosch.com
State Changes Requested
Delegated to: Lokesh Vutla
Headers show
Series am335x, guardian: update board specific changes | expand

Commit Message

Gireesh Hiremath April 22, 2021, 1:31 p.m. UTC
From: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>

- Add default mem start address as 0x80000000
- Add defauly mem end address as 0x81000000
- Implies default test runs for first 16MiB of DRAM

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
---
 include/configs/am335x_guardian.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h
index fe36e34c7d..acf4d4ab65 100644
--- a/include/configs/am335x_guardian.h
+++ b/include/configs/am335x_guardian.h
@@ -22,6 +22,10 @@ 
 #define V_OSCK				24000000  /* Clock output from T2 */
 #define V_SCLK				(V_OSCK)
 
+/* mem test config for first 16MiB */
+#define CONFIG_SYS_MEMTEST_START 0x80000000
+#define CONFIG_SYS_MEMTEST_END 0x81000000
+
 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
 
 #ifndef CONFIG_SPL_BUILD