projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c269b4
)
rcar_gen3: plat: Set M3W ULCB DRAM size to 2 GiB
author
Marek Vasut
<
[email protected]
>
Sat, 9 Mar 2019 15:10:59 +0000
(16:10 +0100)
committer
Marek Vasut
<
[email protected]
>
Tue, 26 Mar 2019 23:16:30 +0000
(
00:16
+0100)
The M3W ULCB board has 2 GiB of DRAM, set it so.
Signed-off-by: Marek Vasut <
[email protected]
>
plat/renesas/rcar/bl2_plat_setup.c
patch
|
blob
|
history
diff --git
a/plat/renesas/rcar/bl2_plat_setup.c
b/plat/renesas/rcar/bl2_plat_setup.c
index 350df127acb5b600d3c2680d1f2bad7956bf0d58..de8588c63485c2c98cdf2ec6189161522db801e4 100644
(file)
--- a/
plat/renesas/rcar/bl2_plat_setup.c
+++ b/
plat/renesas/rcar/bl2_plat_setup.c
@@
-568,9
+568,15
@@
static void bl2_advertise_dram_size(uint32_t product)
break;
case RCAR_PRODUCT_M3:
+#if (RCAR_GEN3_ULCB == 1)
+ /* 2GB(1GBx2 2ch split) */
+ dram_config[1] = 0x40000000ULL;
+ dram_config[5] = 0x40000000ULL;
+#else
/* 4GB(2GBx2 2ch split) */
dram_config[1] = 0x80000000ULL;
dram_config[5] = 0x80000000ULL;
+#endif
break;
case RCAR_PRODUCT_M3N: