brcm47xx: added dual image support to flashmap driver
authorMarkus Wigge <mwigge@marcant.net>
Thu, 1 Jul 2010 16:26:24 +0000 (16:26 +0000)
committerMarkus Wigge <mwigge@marcant.net>
Thu, 1 Jul 2010 16:26:24 +0000 (16:26 +0000)
commit25602743d16580389f3140b6227620edc583a456
treeda66a21e2be0f54dcca64ba2b8dc608bfa17eeb7
parentd306c9cb215c0346bba06f6957944c4cdc647a23
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

SVN-Revision: 22019
target/linux/brcm47xx/files/drivers/mtd/maps/bcm47xx-flash.c