aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Cavallini <m.cavallini@koansoftware.com>2012-03-13 17:49:57 +0100
committerMarco Cavallini <m.cavallini@koansoftware.com>2012-03-13 17:49:57 +0100
commit9be7b68a1c6dc2aab3e077162d83f9f0a5d35ad7 (patch)
tree74d46837becddcc840781357c0e8030af23f60a6
parentee344a8ac99a196ad67912923c5010debd7409ce (diff)
downloadopenembedded-9be7b68a1c6dc2aab3e077162d83f9f0a5d35ad7.tar.gz
vulcano-g20/0005-vulcano-g20-mtd.patch: new MTD mapping
-rw-r--r--recipes/linux/linux-2.6.30/vulcano-g20/0005-vulcano-g20-mtd.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.30/vulcano-g20/0005-vulcano-g20-mtd.patch b/recipes/linux/linux-2.6.30/vulcano-g20/0005-vulcano-g20-mtd.patch
new file mode 100644
index 0000000000..8995f7f35d
--- /dev/null
+++ b/recipes/linux/linux-2.6.30/vulcano-g20/0005-vulcano-g20-mtd.patch
@@ -0,0 +1,37 @@
+Index: linux-2.6.30.10-at91/arch/arm/mach-at91/board-m2-vulcanog20.c
+===================================================================
+--- linux-2.6.30.10-at91.orig/arch/arm/mach-at91/board-m2-vulcanog20.c 2012-03-13 17:03:31.315565242 +0100
++++ linux-2.6.30.10-at91/arch/arm/mach-at91/board-m2-vulcanog20.c 2012-03-13 17:03:48.854943800 +0100
+@@ -127,17 +127,27 @@
+ */
+ static struct mtd_partition __initdata ek_nand_partition[] = {
+ {
+- .name = "Bootstrap",
++ .name = "At91Bootstrap", // Start : 0x0000'0000
+ .offset = 0,
+- .size = 4 * SZ_1M,
++ .size = 0x20000,
+ },
+ {
+- .name = "Root File System",
++ .name = "U-Boot", // Start : 0x0002'0000
+ .offset = MTDPART_OFS_NXTBLK,
+- .size = 60 * SZ_1M,
++ .size = 0x40000,
+ },
+ {
+- .name = "Data",
++ .name = "U-Boot environment", // Start : 0x0006'0000
++ .offset = MTDPART_OFS_NXTBLK,
++ .size = 0x40000,
++ },
++ {
++ .name = "Linux kernel", // Start : 0x000A'0000
++ .offset = MTDPART_OFS_NXTBLK,
++ .size = 0x360000,
++ },
++ {
++ .name = "Root File System", // Start : 0x0040'0000
+ .offset = MTDPART_OFS_NXTBLK,
+ .size = MTDPART_SIZ_FULL,
+ },