ARM: 8085/1: sa1100: collie: add top boot mtd partition
authorAndrea Adami <andrea.adami@gmail.com>
Wed, 25 Jun 2014 21:32:26 +0000 (22:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Jun 2014 09:29:34 +0000 (10:29 +0100)
The CFI mapping is now perfect so we can expose the top block, read only.
There isn't much to read, though, just the sharpsl_params values.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/collie.c

index f26aeea..108939f 100644 (file)
@@ -329,6 +329,11 @@ static struct mtd_partition collie_partitions[] = {
                .name           = "rootfs",
                .offset         = MTDPART_OFS_APPEND,
                .size           = 0x00e20000,
+       }, {
+               .name           = "bootblock",
+               .offset         = MTDPART_OFS_APPEND,
+               .size           = 0x00020000,
+               .mask_flags     = MTD_WRITEABLE
        }
 };