fix wrong hunk introduced by r21309, thanks rtz2
authorFlorian Fainelli <florian@openwrt.org>
Sat, 15 May 2010 21:27:02 +0000 (21:27 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 15 May 2010 21:27:02 +0000 (21:27 +0000)
SVN-Revision: 21460

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

index 512219235b0bb475f486447da0f8524725c6a35b..f2a148e9c20f5ae8f37a606c82720bd1031d31e3 100644 (file)
 +
 +      rdc_flash_parts[0].name = "firmware";
 +      rdc_flash_parts[0].offset = 0x0;
-+      rdc_flash_parts[0].size = 0x3E0000 - 0x8000;
++      rdc_flash_parts[0].size = 0x3E0000;
 +      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;
 +
 +      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;