fix sitecom firmware partition size, patch from Bernhard Loos
authorFlorian Fainelli <florian@openwrt.org>
Sun, 2 May 2010 19:30:52 +0000 (19:30 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 2 May 2010 19:30:52 +0000 (19:30 +0000)
SVN-Revision: 21309

target/linux/rdc/patches-2.6.30/100-rdc_boards.patch
target/linux/rdc/patches-2.6.32/100-rdc_boards.patch

index 9fdfd9494f0f276979bb13dcbe4c93b7368a5ab0..fe0daadf68e411363091bde276741b017a9d4ae7 100644 (file)
 +
 +      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;
index 0b8446c824b348567b9dbade4ae04943617f53a1..512219235b0bb475f486447da0f8524725c6a35b 100644 (file)
 +
 +      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;