aboutsummaryrefslogtreecommitdiff
path: root/board/toradex
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2024-05-28 11:59:38 +0200
committerFabio Estevam <festevam@gmail.com>2024-06-03 12:13:22 -0300
commit2884e5df697b49c98b8766b5f1964d6573eadfe5 (patch)
treeaa4e56db12b0c0d144880d09630e90d4298888ec /board/toradex
parent3ca48ec85d15759d875d42cc318c3e8ae8cde514 (diff)
downloadu-boot-2884e5df697b49c98b8766b5f1964d6573eadfe5.zip
u-boot-2884e5df697b49c98b8766b5f1964d6573eadfe5.tar.gz
u-boot-2884e5df697b49c98b8766b5f1964d6573eadfe5.tar.bz2
board: toradex: verdin-imx8mm: increase maximum addressable ram to 4GB
Add support for SKUs with higher memory sizes. Actual memory size is auto-detected. Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Diffstat (limited to 'board/toradex')
-rw-r--r--board/toradex/verdin-imx8mm/verdin-imx8mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
index 020ee67..3659316 100644
--- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c
+++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
@@ -117,7 +117,7 @@ int board_phys_sdram_size(phys_size_t *size)
if (!size)
return -EINVAL;
- *size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE);
+ *size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE + PHYS_SDRAM_2_SIZE);
return 0;
}