All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vexpress64_fvp: Set DRAM to 4G to match with kernel devicetree
@ 2021-02-15  7:27 Diego Sueiro
  2021-02-25 13:26 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Diego Sueiro @ 2021-02-15  7:27 UTC (permalink / raw
  To: u-boot

Currently, the kernel devicetree is setting the DRAM size to ~4G.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
---
 configs/vexpress_aemv8a_semi_defconfig | 2 +-
 include/configs/vexpress_aemv8a.h      | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/configs/vexpress_aemv8a_semi_defconfig b/configs/vexpress_aemv8a_semi_defconfig
index a26137ef5d..2ecb7762ce 100644
--- a/configs/vexpress_aemv8a_semi_defconfig
+++ b/configs/vexpress_aemv8a_semi_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
 CONFIG_TARGET_VEXPRESS64_BASE_FVP=y
 CONFIG_SYS_TEXT_BASE=0x88000000
 CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_NR_DRAM_BANKS=1
+CONFIG_NR_DRAM_BANKS=2
 CONFIG_SYS_MEMTEST_START=0x80000000
 CONFIG_SYS_MEMTEST_END=0xff000000
 CONFIG_ENV_SIZE=0x40000
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index 566bee5b87..f1490a86b9 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -117,6 +117,9 @@
 #ifdef CONFIG_TARGET_VEXPRESS64_JUNO
 #define PHYS_SDRAM_2			(0x880000000)
 #define PHYS_SDRAM_2_SIZE		0x180000000
+#elif CONFIG_TARGET_VEXPRESS64_BASE_FVP && CONFIG_NR_DRAM_BANKS == 2
+#define PHYS_SDRAM_2			(0x880000000)
+#define PHYS_SDRAM_2_SIZE		0x80000000
 #endif
 
 /* Enable memtest */
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] vexpress64_fvp: Set DRAM to 4G to match with kernel devicetree
  2021-02-15  7:27 [PATCH] vexpress64_fvp: Set DRAM to 4G to match with kernel devicetree Diego Sueiro
@ 2021-02-25 13:26 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-02-25 13:26 UTC (permalink / raw
  To: u-boot

On Mon, Feb 15, 2021 at 07:27:57AM +0000, Diego Sueiro wrote:

> Currently, the kernel devicetree is setting the DRAM size to ~4G.
> 
> Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210225/bef0a7c0/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-25 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-15  7:27 [PATCH] vexpress64_fvp: Set DRAM to 4G to match with kernel devicetree Diego Sueiro
2021-02-25 13:26 ` Tom Rini

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.