From 6c3dd84897cbc19a31e5ec1a5da9bcd735b71c9e Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 12 Mar 2013 13:28:23 +0000 Subject: [PATCH] avr32: add firmware partition Signed-off-by: Gabor Juhos SVN-Revision: 35981 --- .../avr32/patches-3.3/110-openwrt_flashmap.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 98669bc473f..3f87699b04b 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 = { -- 2.30.2