Skip to contentSkip to conversation

arm: total_compute: increase DRAM to 8GB

PATCH In review Usama Arif 2 participants 2 messages Oct 12, 2021 – Oct 20, 2021

lore
Share & tools
lore

Usama Arif

author
#0 lore raw

PATCH 1/1 arm: total_compute: increase DRAM to 8GB

The extra 6GB start at 0x8080000000.

---
 board/armltd/total_compute/total_compute.c | 3 +++
 include/configs/total_compute.h            | 3 +++
 2 files changed, 6 insertions(+)
board/armltd/total_compute/total_compute.c +3 -0
index b7eaab0851..b7772f79a3 100644
@@ -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;
 }
 
include/configs/total_compute.h +3 -0
index bbeedaf841..933a145f99 100644
@@ -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	\
Signature · 1 line
2.17.1