aboutsummaryrefslogtreecommitdiffstats
path: root/board/toradex
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-08-24 10:08:50 +0200
committerTom Rini <trini@konsulko.com>2023-09-08 10:07:11 -0400
commit63cbfd38a814d72f3e74773c1f8150de788ed4f4 (patch)
tree6742a0b8a8208e5db8f7a4699e859529e4b73c13 /board/toradex
parent9557d46107926b8346e4dcb3a0842c87e0fcbf7a (diff)
downloadu-boot-63cbfd38a814d72f3e74773c1f8150de788ed4f4.tar.gz
board: verdin-am62: fix check for minimum memory size
verdin am62 SKUs comes in multiple memory configuration, check that the detected memory is at least 512MB since we have some reserved memory just before this threshold and therefore the module cannot work with less memory. Fixes: 7d1a10659f5b ("board: toradex: add verdin am62 support") Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Diffstat (limited to 'board/toradex')
-rw-r--r--board/toradex/verdin-am62/verdin-am62.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/toradex/verdin-am62/verdin-am62.c b/board/toradex/verdin-am62/verdin-am62.c
index a3d1d07a0cb..d09dda5bccc 100644
--- a/board/toradex/verdin-am62/verdin-am62.c
+++ b/board/toradex/verdin-am62/verdin-am62.c
@@ -28,8 +28,8 @@ int dram_init(void)
{
gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, CFG_SYS_SDRAM_SIZE);
- if (gd->ram_size < SZ_64M)
- puts("## WARNING: Less than 64MB RAM detected\n");
+ if (gd->ram_size < SZ_512M)
+ puts("## WARNING: Less than 512MB RAM detected\n");
return 0;
}