From 6b1f9d61fac30dc3b587cea87749e538d23f23dc Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 22 Apr 2010 16:35:01 +0000 Subject: [PATCH] [brcm63xx] fix wrong refresh on flashmap patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21094 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 812e008a2..4784de7d6 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 + 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; -- 2.20.1