summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2010-06-17 00:01:56 +0000
committerPeter Stuge <peter@stuge.se>2010-06-17 00:01:56 +0000
commit02d0c1e4d0045c9d0874e0e2ea8f1c450a32989e (patch)
treea82bbdf5b5a27f345cc22781b736844a97a1e5ea
parent5d3fcb963300a9e44ca461f0481cb8d727556553 (diff)
downloadast2050-flashrom-02d0c1e4d0045c9d0874e0e2ea8f1c450a32989e.zip
ast2050-flashrom-02d0c1e4d0045c9d0874e0e2ea8f1c450a32989e.tar.gz
Set maximum flash size for 3Com NICs to 128kb = 1Mbit
This fact was already documented on http://flashrom.org/NIC3Com Corresponding to flashrom svn r1049. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-rw-r--r--nic3com.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nic3com.c b/nic3com.c
index 29f83c3..94f4776 100644
--- a/nic3com.c
+++ b/nic3com.c
@@ -81,6 +81,7 @@ int nic3com_init(void)
OUTW(SELECT_REG_WINDOW + 0, io_base_addr + INT_STATUS);
buses_supported = CHIP_BUSTYPE_PARALLEL;
+ max_rom_decode.parallel = 128 * 1024;
return 0;
}
OpenPOWER on IntegriCloud