diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-05-31 22:53:20 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-05-31 22:53:20 +0000 |
commit | 0677e162481b9624760ed1f8ffa6f56a2ebe4fe9 (patch) | |
tree | 230bd5763daf1ffbdf2e549a913292d97fbef4bd /tools/firmware-utils/src/spw303v.c | |
parent | be97e2a04325fe29fe4def34d728c262de727b4c (diff) | |
download | upstream-0677e162481b9624760ed1f8ffa6f56a2ebe4fe9.tar.gz upstream-0677e162481b9624760ed1f8ffa6f56a2ebe4fe9.tar.bz2 upstream-0677e162481b9624760ed1f8ffa6f56a2ebe4fe9.zip |
ar71xx: Fix header offset for newer WRT160NL models
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27049
Diffstat (limited to 'tools/firmware-utils/src/spw303v.c')
0 files changed, 0 insertions, 0 deletions