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

Gireesh.Hiremath at in.bosch.com Gireesh.Hiremath at in.bosch.com
Thu Apr 22 15:31:40 CEST 2021


From: Gireesh Hiremath <Gireesh.Hiremath at 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 at in.bosch.com>
---
 include/configs/am335x_guardian.h | 4 ++++
 1 file changed, 4 insertions(+)

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
-- 
2.20.1



More information about the U-Boot mailing list