mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 12:57:42 +02:00
[rdc] fix wrong hunk introduced by r21309, thanks rtz2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21460 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b03ef8fa0b
commit
a2626c5518
@ -340,7 +340,7 @@
|
|||||||
+
|
+
|
||||||
+ rdc_flash_parts[0].name = "firmware";
|
+ rdc_flash_parts[0].name = "firmware";
|
||||||
+ rdc_flash_parts[0].offset = 0x0;
|
+ 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].name = "rootfs";
|
||||||
+ rdc_flash_parts[1].offset = header.kernelsz + sizeof(header);
|
+ 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[1].size = rdc_flash_parts[0].size - rdc_flash_parts[1].offset;
|
||||||
@ -600,7 +600,7 @@
|
|||||||
+
|
+
|
||||||
+ rdc_flash_parts[0].name = "firmware";
|
+ rdc_flash_parts[0].name = "firmware";
|
||||||
+ rdc_flash_parts[0].offset = 0x8000;
|
+ 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].name = "config";
|
||||||
+ rdc_flash_parts[1].offset = 0;
|
+ rdc_flash_parts[1].offset = 0;
|
||||||
+ rdc_flash_parts[1].size = 0x8000;
|
+ rdc_flash_parts[1].size = 0x8000;
|
||||||
|
Loading…
Reference in New Issue
Block a user