From f89ff525ee19752a376d00c343cfd038d22bb797 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 4 May 2010 08:07:39 +0000 Subject: revert r21085, fixes #7282 SVN-Revision: 21352 --- target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/brcm63xx/patches-2.6.33') diff --git a/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch index 6edb8c7873..5f3e0a2734 100644 --- a/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch +++ b/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch @@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe + return -ENOMEM; + + /* Get the tag */ -+ ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf); ++ ret = master->read(master,mater->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf); + if (retlen != sizeof(struct bcm_tag)){ + vfree(buf); + return -EIO; -- cgit v1.2.3