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
commit3d115adb28386cb33ecc92f5ab1d688818307557 (patch)
tree640548b3660d319fa55e156bfcf79c4df8f555c3 /target/linux/avr32
parent5d2ba776636f82adb6857aca84fe9b8146f340d0 (diff)
downloadupstream-3d115adb28386cb33ecc92f5ab1d688818307557.tar.gz
upstream-3d115adb28386cb33ecc92f5ab1d688818307557.tar.bz2
upstream-3d115adb28386cb33ecc92f5ab1d688818307557.zip
avr32: add firmware partition
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35981 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 = {