From: Usama Arif <usama.arif@arm.com>
To: u-boot@lists.denx.de
Cc: nd@arm.com, Anders.Dellien@arm.com, Usama Arif <usama.arif@arm.com>
Subject: [PATCH] arm: total_compute: increase DRAM to 8GB
Date: Tue, 12 Oct 2021 13:43:16 +0100 [thread overview]
Message-ID: <20211012124316.21633-1-usama.arif@arm.com> (raw)
The extra 6GB start at 0x8080000000.
Signed-off-by: Usama Arif <usama.arif@arm.com>
---
board/armltd/total_compute/total_compute.c | 3 +++
include/configs/total_compute.h | 3 +++
2 files changed, 6 insertions(+)
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 \
--
2.17.1
next reply other threads:[~2021-10-12 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-12 12:43 Usama Arif [this message]
2021-10-20 0:46 ` [PATCH] arm: total_compute: increase DRAM to 8GB Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211012124316.21633-1-usama.arif@arm.com \
--to=usama.arif@arm.com \
--cc=Anders.Dellien@arm.com \
--cc=nd@arm.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.