ar71xx/all0258n: fix partition layout
authorGabor Juhos <juhosg@openwrt.org>
Thu, 27 Oct 2011 07:54:47 +0000 (07:54 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 27 Oct 2011 07:54:47 +0000 (07:54 +0000)
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28615

target/linux/ar71xx/files/arch/mips/ar71xx/mach-all0258n.c

index 7c383f5b7a635652f130a91587a7b033a66ffe6a..8b50a542c26a02e3e6517898e1e66facac45abed 100644 (file)
@@ -66,7 +66,7 @@ static struct mtd_partition all0258n_partitions[] = {
        }, {
                .name           = "firmware",
                .offset         = 0x050000,
-               .size           = 0x630000,
+               .size           = 0x620000,
        }, {
                .name           = "art",
                .offset         = 0x7F0000,