ar71xx: fix mtd_layout for the DIR-615-C1 and similar devices

* Thanks to Yury Polyanskiy for the report

SVN-Revision: 21036
This commit is contained in:
Gabor Juhos 2010-04-20 08:07:25 +00:00
parent 6d59a298e8
commit d7919c8d0d

View file

@ -127,7 +127,7 @@ define Image/Build/WZRHPG300NH
fi; fi fi; fi
endef endef
cameo_mtdlayout=mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,896k(kernel),2880k(rootfs),64k(art)ro,3776k@0x30000(firmware) cameo_mtdlayout=mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,896k(kernel),2944k(rootfs),64k(art)ro,3840k@0x30000(firmware)
define Image/Build/Cameo define Image/Build/Cameo
$(call PatchKernelLzma,$(2),$(3) $(cameo_mtdlayout)) $(call PatchKernelLzma,$(2),$(3) $(cameo_mtdlayout))
if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt 917504 ]; then \ if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt 917504 ]; then \