]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: total_compute: increase DRAM to 8GB
authorUsama Arif <usama.arif@arm.com>
Tue, 12 Oct 2021 12:43:16 +0000 (13:43 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Oct 2021 15:25:25 +0000 (11:25 -0400)
The extra 6GB start at 0x8080000000.

Signed-off-by: Usama Arif <usama.arif@arm.com>
board/armltd/total_compute/total_compute.c
include/configs/total_compute.h

index b7eaab08517527e968a5a12ca73999f6d21bc431..b7772f79a31a86a27096d209de81d64dadc49b91 100644 (file)
@@ -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;
 }
 
index bbeedaf841dfc67384e87d06be35fbf1a791682f..933a145f9939cef0dd99128e95dcb228ba75514d 100644 (file)
@@ -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      \