aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.32
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-22 15:27:42 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-04-22 15:27:42 +0000
commit15dd10237e68db586a2b4997918f5eb27994a014 (patch)
treea879777b57f4f24886aae8ba3300dcf22d190a0f /target/linux/brcm63xx/patches-2.6.32
parent78086848af94326ea9ca0749de95a7fc3f0892dd (diff)
downloadupstream-15dd10237e68db586a2b4997918f5eb27994a014.tar.gz
upstream-15dd10237e68db586a2b4997918f5eb27994a014.tar.bz2
upstream-15dd10237e68db586a2b4997918f5eb27994a014.zip
[brcm63xx] alwasy read imagetag with 64K erase block size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21085 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch
index 117074b994..137b08f159 100644
--- a/target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch
+++ b/target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch
@@ -148,7 +148,7 @@ Index: linux-2.6.32.10/drivers/mtd/maps/bcm963xx-flash.c
+ return -ENOMEM;
+
+ /* Get the tag */
-+ ret = master->read(master,master->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
++ ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf);
+ if (retlen != sizeof(struct bcm_tag)){
+ vfree(buf);
+ return -EIO;