aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.32
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-22 16:35:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-04-22 16:35:01 +0000
commitfada7831023de2c639d539b61b653d9e0ad10b33 (patch)
tree2fb25df876f8685947a6a71c1a3117ff6fd66aa6 /target/linux/brcm63xx/patches-2.6.32
parentd7484989c98879850e91b70b32de645a10a088ca (diff)
downloadupstream-fada7831023de2c639d539b61b653d9e0ad10b33.tar.gz
upstream-fada7831023de2c639d539b61b653d9e0ad10b33.tar.bz2
upstream-fada7831023de2c639d539b61b653d9e0ad10b33.zip
[brcm63xx] fix wrong refresh on flashmap patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21094 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 812e008a21..4784de7d6a 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
@@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
+ 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;