From 6aae3694c96dbbb4ded67d756c6fd7fc88812d78 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 --- tools/firmware-utils/src/mktplinkfw.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c index d15ca5bf45..d92207f488 100644 --- a/tools/firmware-utils/src/mktplinkfw.c +++ b/tools/firmware-utils/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,