ar71xx, firmware-utils: split ubdev01 flash layout from XM
authorFelix Fietkau <[email protected]>
Mon, 29 Feb 2016 20:11:30 +0000 (20:11 +0000)
committerFelix Fietkau <[email protected]>
Mon, 29 Feb 2016 20:11:30 +0000 (20:11 +0000)
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 <[email protected]>
SVN-Revision: 48828

src/mkfwimage.c

index 00bf439afe6c382feb9f41bff8f8d5130155e50f..5dae284d5d72455dec91f2e486859a78e7defba3 100644 (file)
@@ -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           =       "",
        },
 };