openwrtv4/target/linux/orion/patches/101-wnr854t_partition_map.patch

14 lines
342 B
Diff
Raw Normal View History

--- a/arch/arm/mach-orion5x/wnr854t-setup.c
+++ b/arch/arm/mach-orion5x/wnr854t-setup.c
@@ -67,6 +67,10 @@ static struct mtd_partition wnr854t_nor_flash_partitions
.name = "uboot",
.offset = 0x00760000,
.size = 0x00040000,
+ }, {
+ .name = "image", // for sysupgrade
+ .offset = 0x00000000,
+ .size = 0x00760000,
},
};