avr32: add firmware partition
authorGabor Juhos <juhosg@openwrt.org>
Tue, 12 Mar 2013 13:28:23 +0000 (13:28 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 12 Mar 2013 13:28:23 +0000 (13:28 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35981

target/linux/avr32/patches-3.3/110-openwrt_flashmap.patch

index 98669bc473f02d394d823f8fe4edd52dea3a9358..3f87699b04bd13f3d5d3aa4174245ae54dc7466e 100644 (file)
        },
        {
                .name           = "env",
+@@ -55,6 +60,11 @@ static struct mtd_partition flash_parts[
+               .size           = 0x00010000,
+               .mask_flags     = MTD_WRITEABLE,
+       },
++      {
++              .name           = "firmware",
++              .offset         = 0x00020000,
++              .size           = 0x007d0000,
++      },
+ };
+ static struct physmap_flash_data flash_data = {