summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUsama Arif <usama.arif@arm.com>2021-10-12 13:43:16 +0100
committerTom Rini <trini@konsulko.com>2021-10-19 11:25:25 -0400
commitb20b16a794b073807ef8d6840772a92788b3e226 (patch)
tree8d5d8b171e7b216257be100130c843cca8e3ba7c
parent4f03a4c7662e79634bc133a2975cc239486237da (diff)
downloadu-boot-b20b16a794b073807ef8d6840772a92788b3e226.tar.gz
arm: total_compute: increase DRAM to 8GB
The extra 6GB start at 0x8080000000. Signed-off-by: Usama Arif <usama.arif@arm.com>
-rw-r--r--board/armltd/total_compute/total_compute.c3
-rw-r--r--include/configs/total_compute.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/board/armltd/total_compute/total_compute.c b/board/armltd/total_compute/total_compute.c
index b7eaab0851..b7772f79a3 100644
--- a/board/armltd/total_compute/total_compute.c
+++ b/board/armltd/total_compute/total_compute.c
@@ -59,6 +59,9 @@ int dram_init_banksize(void)
gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
+ gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
+ gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE;
+
return 0;
}
diff --git a/include/configs/total_compute.h b/include/configs/total_compute.h
index bbeedaf841..933a145f99 100644
--- a/include/configs/total_compute.h
+++ b/include/configs/total_compute.h
@@ -30,6 +30,9 @@
#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
+#define PHYS_SDRAM_2 0x8080000000
+#define PHYS_SDRAM_2_SIZE 0x180000000
+
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
#define CONFIG_EXTRA_ENV_SETTINGS \