summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2008-05-16 11:17:55 -0400
committerJustin Waters <justin.waters@timesys.com>2008-05-16 13:32:06 -0400
commit304d61558ceff4813567507e8c18a476f0c11594 (patch)
tree894608fdcfa7316ea4749a114a40d19f41e75d69
parentbb336515fd6b443a7532f1a7f7643d0b5b3c1811 (diff)
MX27Litekit: Update NOR Flash partition table
The NOR flash on the Litekit is significantly smaller than that on the ADS board. This breaks the partitions into three blocks: one for LogicLoader, one for the LogicLoader configuration data, and one for miscellaneous use. Signed-off-by: Justin Waters <justin.waters@timesys.com>
-rw-r--r--arch/arm/mach-mx27/mx27lite.c29
1 files changed, 7 insertions, 22 deletions
diff --git a/arch/arm/mach-mx27/mx27lite.c b/arch/arm/mach-mx27/mx27lite.c
index bdd480a76dab..45009c2c3f79 100644
--- a/arch/arm/mach-mx27/mx27lite.c
+++ b/arch/arm/mach-mx27/mx27lite.c
@@ -161,37 +161,22 @@ static inline void mxc_init_keypad(void)
static struct mtd_partition mxc_nor_partitions[] = {
{
- .name = "Bootloader",
- .size = 512 * 1024,
+ .name = "nor.bootloader",
+ .size = 256 * 1024,
.offset = 0x00000000,
.mask_flags = MTD_WRITEABLE /* force read-only */
},
{
- .name = "nor.Kernel",
- .size = 2 * 1024 * 1024,
+ .name = "nor.config",
+ .size = 64 * 1024,
.offset = MTDPART_OFS_APPEND,
- .mask_flags = 0},
- {
- .name = "nor.userfs",
- .size = 14 * 1024 * 1024,
- .offset = MTDPART_OFS_APPEND,
- .mask_flags = 0},
- {
- .name = "nor.rootfs",
- .size = 12 * 1024 * 1024,
- .offset = MTDPART_OFS_APPEND,
- .mask_flags = MTD_WRITEABLE},
- {
- .name = "FIS directory",
- .size = 12 * 1024,
- .offset = 0x01FE0000,
.mask_flags = MTD_WRITEABLE /* force read-only */
},
{
- .name = "Redboot config",
+ .name = "nor.extra",
.size = MTDPART_SIZ_FULL,
- .offset = 0x01FFF000,
- .mask_flags = MTD_WRITEABLE /* force read-only */
+ .offset = MTDPART_OFS_APPEND,
+ .mask_flags = 0
},
};