diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-04-22 16:35:01 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-04-22 16:35:01 +0000 |
commit | 41836b16bb4a896bdde2d6e846f6423c78f9c0a6 (patch) | |
tree | dbb5bc0d2268d4567a37760b5afdd54d3da3c505 /target/linux/brcm63xx/patches-2.6.32 | |
parent | 17049cf4cecc9ce37e52b176f87c512b07db1446 (diff) | |
download | mtk-20170518-41836b16bb4a896bdde2d6e846f6423c78f9c0a6.zip mtk-20170518-41836b16bb4a896bdde2d6e846f6423c78f9c0a6.tar.gz mtk-20170518-41836b16bb4a896bdde2d6e846f6423c78f9c0a6.tar.bz2 |
fix wrong refresh on flashmap patch
SVN-Revision: 21094
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch | 2 |
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 812e008..4784de7 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; |