]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91: USB A926x update nand partition
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 11 Apr 2012 15:40:31 +0000 (23:40 +0800)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 20 Apr 2012 15:17:08 +0000 (23:17 +0800)
We now store the dtb in a nand partition.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/usb_a9g20.dts
arch/arm/mach-at91/board-usb-a926x.c

index 7c2399c532e52990b17f98c6ce48908f0e3b11c3..0f88ec83cc1be0c43f07fe6206c8d4f422c8815b 100644 (file)
                                reg = <0x80000 0x20000>;
                        };
 
+                       oftree@80000 {
+                               label = "oftree";
+                               reg = <0xa0000 0x20000>;
+                       };
+
                        kernel@a0000 {
                                label = "kernel";
-                               reg = <0xa0000 0x400000>;
+                               reg = <0xc0000 0x400000>;
                        };
 
                        rootfs@4a0000 {
                                label = "rootfs";
-                               reg = <0x4a0000 0x7800000>;
+                               reg = <0x4c0000 0x7800000>;
                        };
 
                        data@7ca0000 {
                                label = "data";
-                               reg = <0x7ca0000 0x8360000>;
+                               reg = <0x7cc0000 0x8340000>;
                        };
                };
 
index 332ecd40bd02b72bc5fd76f28fb8ee570b98f557..95393fcaf199c9664bc6cafa8fafe17e826e5d92 100644 (file)
@@ -171,6 +171,10 @@ static struct mtd_partition __initdata ek_nand_partition[] = {
                .name   = "bareboxenv2",
                .offset = MTDPART_OFS_NXTBLK,
                .size   = SZ_128K,
+       }, {
+               .name   = "oftree",
+               .offset = MTDPART_OFS_NXTBLK,
+               .size   = SZ_128K,
        }, {
                .name   = "kernel",
                .offset = MTDPART_OFS_NXTBLK,