[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
master
Florian Fainelli 2010-05-02 19:30:52 +00:00
parent 3a4c1284a7
commit 2346270ff7
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;