diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-04-22 15:27:42 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-04-22 15:27:42 +0000 |
commit | be2a5389e68d75b839bde6fe4bd3a8c18ef28512 (patch) | |
tree | e343c1f9d52378a5b1b6263252b3ad23ace4800c /target/linux/brcm63xx/patches-2.6.32 | |
parent | 43311d7182653ef01b960d028f5b4d92d635e0cf (diff) | |
download | mtk-20170518-be2a5389e68d75b839bde6fe4bd3a8c18ef28512.zip mtk-20170518-be2a5389e68d75b839bde6fe4bd3a8c18ef28512.tar.gz mtk-20170518-be2a5389e68d75b839bde6fe4bd3a8c18ef28512.tar.bz2 |
alwasy read imagetag with 64K erase block size
SVN-Revision: 21085
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 117074b..137b08f 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; |