Commit 64b21832 authored by Russell King's avatar Russell King

[ARM PATCH] 1099/4: trizeps MTD support

Patch from Guennadi Liakhovetski

An update of the partition-table and a typo-fix. Please, apply.
parent 8a991934
...@@ -773,14 +773,15 @@ static struct mtd_partition stork_partitions[] = { ...@@ -773,14 +773,15 @@ static struct mtd_partition stork_partitions[] = {
#ifdef CONFIG_SA1100_TRIZEPS #ifdef CONFIG_SA1100_TRIZEPS
static struct mtd_partition trizeps_partitions[] = { static struct mtd_partition trizeps_partitions[] = {
{ {
.name = "Bootloader & the kernel", .name = "Bootloader",
.size = 0x00200000, .size = 0x00100000,
.offset = 0, .offset = 0,
}, { }, {
.name = "Data", .name = "Kernel",
.size = 0x00400000, .size = 0x00100000,
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
}, { }, {
.name = "root",
.size = MTDPART_SIZ_FULL, .size = MTDPART_SIZ_FULL,
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
} }
...@@ -937,7 +938,7 @@ static int __init sa1100_static_partitions(struct mtd_partition **parts) ...@@ -937,7 +938,7 @@ static int __init sa1100_static_partitions(struct mtd_partition **parts)
#ifdef CONFIG_SA1100_TRIZEPS #ifdef CONFIG_SA1100_TRIZEPS
if (machine_is_trizeps()) { if (machine_is_trizeps()) {
*parts = trizeps_partitions; *parts = trizeps_partitions;
nb_parts = ARRAY_SIZE(trizeps_parititons); nb_parts = ARRAY_SIZE(trizeps_partitions);
} }
#endif #endif
#ifdef CONFIG_SA1100_YOPY #ifdef CONFIG_SA1100_YOPY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment