Skip to content

Commit

Permalink
arm: total_compute: increase DRAM to 8GB
Browse files Browse the repository at this point in the history
The extra 6GB start at 0x8080000000.

Signed-off-by: Usama Arif <usama.arif@arm.com>
  • Loading branch information
uarif1 authored and trini committed Oct 19, 2021
1 parent 4f03a4c commit b20b16a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions board/armltd/total_compute/total_compute.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
3 changes: 3 additions & 0 deletions include/configs/total_compute.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit b20b16a

Please sign in to comment.