brcm47xx: added dual image support to flashmap driver
authorMarkus Wigge <markus@cultcom.de>
Thu, 1 Jul 2010 16:26:24 +0000 (16:26 +0000)
committerMarkus Wigge <markus@cultcom.de>
Thu, 1 Jul 2010 16:26:24 +0000 (16:26 +0000)
commit36b02072c50715634f663e10f0f0d79f0df0631a
tree78f99348d7c79a4a90db42eaf7e490248a08fd31
parentd312e88e23b57ee0c75264a9c270c51cdfb232c5
brcm47xx: added dual image support to flashmap driver

some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22019 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/files/drivers/mtd/maps/bcm47xx-flash.c