aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-05-02 19:30:52 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-05-02 19:30:52 +0000
commit5423050c984a62c5491d6a667dd5fb4a16ecaba5 (patch)
tree967c08639804d55f73ce262e0506bd5ae86c19aa /target/linux/rdc
parent573b0d82b50c06fa09cbc61f8b065c0993c876bc (diff)
downloadupstream-5423050c984a62c5491d6a667dd5fb4a16ecaba5.tar.gz
upstream-5423050c984a62c5491d6a667dd5fb4a16ecaba5.tar.bz2
upstream-5423050c984a62c5491d6a667dd5fb4a16ecaba5.zip
fix sitecom firmware partition size, patch from Bernhard Loos
SVN-Revision: 21309
Diffstat (limited to 'target/linux/rdc')
-rw-r--r--target/linux/rdc/patches-2.6.30/100-rdc_boards.patch2
-rw-r--r--target/linux/rdc/patches-2.6.32/100-rdc_boards.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/rdc/patches-2.6.30/100-rdc_boards.patch b/target/linux/rdc/patches-2.6.30/100-rdc_boards.patch
index 9fdfd9494f..fe0daadf68 100644
--- a/target/linux/rdc/patches-2.6.30/100-rdc_boards.patch
+++ b/target/linux/rdc/patches-2.6.30/100-rdc_boards.patch
@@ -612,7 +612,7 @@
+
+ rdc_flash_parts[0].name = "firmware";
+ rdc_flash_parts[0].offset = 0x8000;
-+ rdc_flash_parts[0].size = 0x3F0000;
++ rdc_flash_parts[0].size = 0x3F0000 - 0x8000;
+ rdc_flash_parts[1].name = "config";
+ rdc_flash_parts[1].offset = 0;
+ rdc_flash_parts[1].size = 0x8000;
diff --git a/target/linux/rdc/patches-2.6.32/100-rdc_boards.patch b/target/linux/rdc/patches-2.6.32/100-rdc_boards.patch
index 0b8446c824..512219235b 100644
--- a/target/linux/rdc/patches-2.6.32/100-rdc_boards.patch
+++ b/target/linux/rdc/patches-2.6.32/100-rdc_boards.patch
@@ -340,7 +340,7 @@
+
+ rdc_flash_parts[0].name = "firmware";
+ rdc_flash_parts[0].offset = 0x0;
-+ rdc_flash_parts[0].size = 0x3E0000;
++ rdc_flash_parts[0].size = 0x3E0000 - 0x8000;
+ rdc_flash_parts[1].name = "rootfs";
+ rdc_flash_parts[1].offset = header.kernelsz + sizeof(header);
+ rdc_flash_parts[1].size = rdc_flash_parts[0].size - rdc_flash_parts[1].offset;