aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100
diff options
context:
space:
mode:
authorDmitry Artamonow <mad_soft@inbox.ru>2009-03-15 14:09:50 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-03-15 16:08:15 -0400
commitf110b3f2a61d26329290036dac3d70a6733099de (patch)
tree4b6d73f42de1a7397330ce0d29b245e3b2551451 /arch/arm/mach-sa1100
parentf84e85ef3ccedd450d2dd266798c97b05b7b3563 (diff)
[ARM] 5424/1: h3600: clean up mtd partitions table
Right now iPaq h3600's default MTD partitions table is a mess. It has two #ifdefs with #else, giving total 3 variants, depending on your kernel config. Replace all this with simple two-partitions scheme (bootloader + rootfs), that used by both shipped WindowsCE and most of the linux distributions (Familiar, Angstrom) Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100')
-rw-r--r--arch/arm/mach-sa1100/h3600.c34
1 files changed, 1 insertions, 33 deletions
diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c
index b9aaa45c6ca4..4920b89d149c 100644
--- a/arch/arm/mach-sa1100/h3600.c
+++ b/arch/arm/mach-sa1100/h3600.c
@@ -56,41 +56,9 @@ static struct mtd_partition h3xxx_partitions[] = {
56 .offset = 0, 56 .offset = 0,
57 .mask_flags = MTD_WRITEABLE, /* force read-only */ 57 .mask_flags = MTD_WRITEABLE, /* force read-only */
58 }, { 58 }, {
59#ifdef CONFIG_MTD_2PARTS_IPAQ 59 .name = "H3XXX rootfs",
60 .name = "H3XXX root jffs2",
61 .size = MTDPART_SIZ_FULL, 60 .size = MTDPART_SIZ_FULL,
62 .offset = 0x00040000, 61 .offset = 0x00040000,
63#else
64 .name = "H3XXX kernel",
65 .size = 0x00080000,
66 .offset = 0x00040000,
67 }, {
68 .name = "H3XXX params",
69 .size = 0x00040000,
70 .offset = 0x000C0000,
71 }, {
72#ifdef CONFIG_JFFS2_FS
73 .name = "H3XXX root jffs2",
74 .size = MTDPART_SIZ_FULL,
75 .offset = 0x00100000,
76#else
77 .name = "H3XXX initrd",
78 .size = 0x00100000,
79 .offset = 0x00100000,
80 }, {
81 .name = "H3XXX root cramfs",
82 .size = 0x00300000,
83 .offset = 0x00200000,
84 }, {
85 .name = "H3XXX usr cramfs",
86 .size = 0x00800000,
87 .offset = 0x00500000,
88 }, {
89 .name = "H3XXX usr local",
90 .size = MTDPART_SIZ_FULL,
91 .offset = 0x00d00000,
92#endif
93#endif
94 } 62 }
95}; 63};
96 64