summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-11-28 12:46:23 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2012-11-28 13:00:15 +0100
commit85cca3b34a64a1023060c5cf08c304eac48d3eac (patch)
treeaa2d1bfdcd3a349822e3f2e79cdd7d9e33059b06
parentfb0920943e34158a4bed5aeaefa6014b343836e5 (diff)
T30: - exclude T20 RAM size
-rw-r--r--board/toradex/common/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/toradex/common/board.c b/board/toradex/common/board.c
index 2e6d61d907..df5e97e6db 100644
--- a/board/toradex/common/board.c
+++ b/board/toradex/common/board.c
@@ -628,6 +628,7 @@ int board_late_init(void)
/* Default memory arguments */
if (!getenv("memargs")) {
+#ifndef CONFIG_TEGRA3
if (gd->ram_size == 0x10000000) {
/* 256 MB */
setenv("memargs", "mem=148M@0M fbmem=12M@148M nvmem=96M@160M");
@@ -635,6 +636,7 @@ int board_late_init(void)
/* 512 MB */
setenv("memargs", "mem=372M@0M fbmem=12M@372M nvmem=128M@384M");
}
+#endif /* !CONFIG_TEGRA3 */
}
#endif /* CONFIG_TRDX_CFG_BLOCK */