projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd6069
)
arm: mvebu: clearfog: support 512MB memory size from tlv eeprom
author
Josua Mayer
<josua@solid-run.com>
Sun, 8 Oct 2023 14:58:04 +0000
(16:58 +0200)
committer
Stefan Roese
<sr@denx.de>
Mon, 16 Oct 2023 12:00:45 +0000
(14:00 +0200)
Handle 2GBit memory size value "2" from tlv eeprom on ddr
initialisation, to support SoMs with 512MB ddr memory.
Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Stefan Roese <sr@denx.de>
board/solidrun/clearfog/clearfog.c
patch
|
blob
|
history
diff --git
a/board/solidrun/clearfog/clearfog.c
b/board/solidrun/clearfog/clearfog.c
index 4f4532b537e56353f4c772b61307e8c4b6d17e79..6fa2fe5fe3ee653c16c1e424707ab35f63bdf79c 100644
(file)
--- a/
board/solidrun/clearfog/clearfog.c
+++ b/
board/solidrun/clearfog/clearfog.c
@@
-159,6
+159,9
@@
struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
cf_read_tlv_data();
switch (cf_tlv_data.ram_size) {
+ case 2:
+ ifp->memory_size = MV_DDR_DIE_CAP_2GBIT;
+ break;
case 4:
default:
ifp->memory_size = MV_DDR_DIE_CAP_4GBIT;