aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-29 20:11:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-29 20:11:30 +0000
commit619a58d641cd763c00be42d5c99c6a72074e845c (patch)
treecf7715fb293decaf4cb8ea2db7558fd48e068682 /tools/firmware-utils/src
parentbd93998df6b57a1a99cd919db37ebc24deac47b2 (diff)
downloadupstream-619a58d641cd763c00be42d5c99c6a72074e845c.tar.gz
upstream-619a58d641cd763c00be42d5c99c6a72074e845c.tar.bz2
upstream-619a58d641cd763c00be42d5c99c6a72074e845c.zip
ar71xx, firmware-utils: split ubdev01 flash layout from XM
The ubdev01 profile defines its own MTDPARTS with smaller firmware partition, so give it its own UBNT_BOARD in mkfwimage. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 48828
Diffstat (limited to 'tools/firmware-utils/src')
-rw-r--r--tools/firmware-utils/src/mkfwimage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c
index 00bf439afe..5dae284d5d 100644
--- a/tools/firmware-utils/src/mkfwimage.c
+++ b/tools/firmware-utils/src/mkfwimage.c
@@ -81,6 +81,12 @@ fw_layout_t fw_layout_data[] = {
.kern_entry = 0x80002000,
.firmware_max_length= 0x006A0000,
},
+ {
+ .name = "UBDEV01",
+ .kern_start = 0x9f050000,
+ .kern_entry = 0x80002000,
+ .firmware_max_length= 0x006A0000,
+ },
{ .name = "",
},
};