[PATCH 2/2] arm: sa1100: collie: add top boot mtd partition
Andrea Adami
andrea.adami at gmail.com
Tue Jun 3 14:29:01 PDT 2014
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 at gmail.com>
---
arch/arm/mach-sa1100/collie.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
index f26aeea..3f449b0 100644
--- a/arch/arm/mach-sa1100/collie.c
+++ b/arch/arm/mach-sa1100/collie.c
@@ -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
}
};
--
1.9.1
More information about the linux-arm-kernel
mailing list