From 4943cd5470c7fde94ca12fecd5b6f2f036f8caad Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 27 Mar 2014 06:36:48 +0000 Subject: [PATCH] firmware-utils/mktplinkfw: add an option to generate 16MiB images Signed-off-by: Andrew 'Necromant' Andrianov Patchwork: http://patchwork.openwrt.org/patch/2449/ Signed-off-by: Gabor Juhos SVN-Revision: 40034 --- src/mktplinkfw.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/mktplinkfw.c b/src/mktplinkfw.c index d15ca5b..d92207f 100644 --- a/src/mktplinkfw.c +++ b/src/mktplinkfw.c @@ -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, -- 2.30.2