[PATCH 05/13] board: venice: fix dram size for GW7901-SP486
Tim Harvey
tharvey at gateworks.com
Fri May 23 19:20:10 CEST 2025
The GW7901-SP486 with the exception of the -C revision has 2GB DRAM
loaded but incorrectly specifies 1GB in the EEPROM. Adjust the DRAM size
to account for this.
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
board/gateworks/venice/eeprom.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/gateworks/venice/eeprom.c b/board/gateworks/venice/eeprom.c
index afaabf348793..abe25256e668 100644
--- a/board/gateworks/venice/eeprom.c
+++ b/board/gateworks/venice/eeprom.c
@@ -350,6 +350,11 @@ int venice_eeprom_init(int quiet)
if (!quiet)
eeprom_info(false);
+ if (!strncmp(venice_model, "GW7901-SP486", 12) &&
+ strcmp(venice_model, "GW7901-SP486-C")) {
+ return 2048;
+ }
+
return (16 << som_info.sdram_size);
}
--
2.25.1
More information about the U-Boot
mailing list