summaryrefslogtreecommitdiff
path: root/target/linux
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
parentcb9fad715c09b9360e4d483252151ec32b78e5b0 (diff)
downloadmtk-20170518-6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e.zip
mtk-20170518-6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e.tar.gz
mtk-20170518-6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e.tar.bz2
avr32: add firmware partition
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35981
Diffstat (limited to 'target/linux')
-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 98669bc..3f87699 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 = {