mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
board: venice: fix dram size for GW7901-SP486
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@gateworks.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
committed by
Fabio Estevam
parent
1bf9f1e550
commit
c83ab82640
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user