ARM: at91: USB A926x update nand partition

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-04-11 23:40:31 +08:00
parent 5cb4e73575
commit d785047744
2 changed files with 12 additions and 3 deletions

View file

@ -74,19 +74,24 @@ bareboxenv2@80000 {
reg = <0x80000 0x20000>; reg = <0x80000 0x20000>;
}; };
oftree@80000 {
label = "oftree";
reg = <0xa0000 0x20000>;
};
kernel@a0000 { kernel@a0000 {
label = "kernel"; label = "kernel";
reg = <0xa0000 0x400000>; reg = <0xc0000 0x400000>;
}; };
rootfs@4a0000 { rootfs@4a0000 {
label = "rootfs"; label = "rootfs";
reg = <0x4a0000 0x7800000>; reg = <0x4c0000 0x7800000>;
}; };
data@7ca0000 { data@7ca0000 {
label = "data"; label = "data";
reg = <0x7ca0000 0x8360000>; reg = <0x7cc0000 0x8340000>;
}; };
}; };

View file

@ -171,6 +171,10 @@ static struct mtd_partition __initdata ek_nand_partition[] = {
.name = "bareboxenv2", .name = "bareboxenv2",
.offset = MTDPART_OFS_NXTBLK, .offset = MTDPART_OFS_NXTBLK,
.size = SZ_128K, .size = SZ_128K,
}, {
.name = "oftree",
.offset = MTDPART_OFS_NXTBLK,
.size = SZ_128K,
}, { }, {
.name = "kernel", .name = "kernel",
.offset = MTDPART_OFS_NXTBLK, .offset = MTDPART_OFS_NXTBLK,