summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-05-25 09:03:02 +0200
committerEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-06-01 16:53:45 +0200
commitdd4740e83be05182e801ff4296fe8a30715075c3 (patch)
treeafda33349f2880f5e0c96607bb99bf1b2d23bdb0 /include
parent3986754ee4a1fa8537dea77cfac3e5ce05c44607 (diff)
verdin-am62: add memory size autodetection
Add memory size auto-detection, maximum size for Verdin AM62 is 2GB. Upstream-Status: Pending Initial U-Boot to be used for bring-up and validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/verdin-am62.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/verdin-am62.h b/include/configs/verdin-am62.h
index dec078c806..287b395bc5 100644
--- a/include/configs/verdin-am62.h
+++ b/include/configs/verdin-am62.h
@@ -15,6 +15,7 @@
#define SCRIPTADDR 0x90280000
/* DDR Configuration */
+#define CONFIG_SYS_SDRAM_SIZE SZ_2G /* Maximum supported size */
#define CONFIG_SYS_SDRAM_BASE1 0x880000000
#define CONFIG_SYS_BOOTM_LEN SZ_64M