firmware-utils/mktplinkfw: add an option to generate 16MiB images
authorGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:48 +0000 (06:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:48 +0000 (06:36 +0000)
Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Patchwork: http://patchwork.openwrt.org/patch/2449/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40034

tools/firmware-utils/src/mktplinkfw.c

index d15ca5b..d92207f 100644 (file)
@@ -186,6 +186,18 @@ static struct flash_layout layouts[] = {
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
                .rootfs_ofs     = 0x100000,
+       }, {
+               .id             = "16M",
+               .fw_max_len     = 0xf80000,
+               .kernel_la      = 0x80060000,
+               .kernel_ep      = 0x80060000,
+               .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "16Mlzma",
+               .fw_max_len     = 0xf80000,
+               .kernel_la      = 0x80060000,
+               .kernel_ep      = 0x80060000,
+               .rootfs_ofs     = 0x100000,
        }, {
                .id             = "16Mppc",
                .fw_max_len     = 0xf80000,