diff options
author | Tim Harvey | 2023-06-23 09:44:17 -0700 |
---|---|---|
committer | Stefano Babic | 2023-07-13 11:29:40 +0200 |
commit | 3d634b0b4460919ecc6ad236786ba9fcacdbe3d0 (patch) | |
tree | e448231c2f42e446bd3d6c9133b97505a1a57c90 /board | |
parent | 7a478c836a243d1682b50dd82576432fc6e11825 (diff) |
board: gateworks: venice: switch to 2-bank dram config
Switch to a 2-bank dram config to properly support 4GiB.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/gateworks/venice/venice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gateworks/venice/venice.c b/board/gateworks/venice/venice.c index 3067480e6ac..a39ae58c8a0 100644 --- a/board/gateworks/venice/venice.c +++ b/board/gateworks/venice/venice.c @@ -20,7 +20,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, (long)PHYS_SDRAM_SIZE + (long)PHYS_SDRAM_2_SIZE); return 0; } |