aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/avr32
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-12 13:28:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-12 13:28:23 +0000
commit6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e (patch)
treea3ca13e4a7eac8acd9f8781b0837f4d2365654df /target/linux/avr32
parentcb9fad715c09b9360e4d483252151ec32b78e5b0 (diff)
downloadupstream-6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e.tar.gz
upstream-6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e.tar.bz2
upstream-6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e.zip
avr32: add firmware partition
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35981
Diffstat (limited to 'target/linux/avr32')
-rw-r--r--target/linux/avr32/patches-3.3/110-openwrt_flashmap.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/avr32/patches-3.3/110-openwrt_flashmap.patch b/target/linux/avr32/patches-3.3/110-openwrt_flashmap.patch
index 98669bc473..3f87699b04 100644
--- a/target/linux/avr32/patches-3.3/110-openwrt_flashmap.patch
+++ b/target/linux/avr32/patches-3.3/110-openwrt_flashmap.patch
@@ -17,3 +17,15 @@
},
{
.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 = {