summaryrefslogtreecommitdiff
path: root/nic3com.c
diff options
context:
space:
mode:
authorstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-06-17 00:01:56 +0000
committerstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-06-17 00:01:56 +0000
commit708e151ca9685cec3cbff065528732f4274ccae0 (patch)
treea82bbdf5b5a27f345cc22781b736844a97a1e5ea /nic3com.c
parentf1c362f7a47e342c538fea4581264fc69f3fa249 (diff)
downloadflashrom-708e151ca9685cec3cbff065528732f4274ccae0.tar.gz
Set maximum flash size for 3Com NICs to 128kb = 1Mbit
This fact was already documented on http://flashrom.org/NIC3Com Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1049 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'nic3com.c')
-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;
}