summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-02 19:30:52 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-02 19:30:52 +0000
commit265e43f20de7a9d8efb05092b4f037a12c3f1b6d (patch)
tree6132a7fda529a664d88b53e9bb716fa4264efb53 /target
parent7e08963dc9afb9ebb97d7f9409b985fffbc64a60 (diff)
[rdc] fix sitecom firmware partition size, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21309 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 9fdfd9494..fe0daadf6 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 0b8446c82..512219235 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;