From: andrea.adami@gmail.com (Andrea Adami)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] arm: sa1100: collie: add top boot mtd partition
Date: Tue, 3 Jun 2014 23:29:01 +0200 [thread overview]
Message-ID: <1401830941-17086-3-git-send-email-andrea.adami@gmail.com> (raw)
In-Reply-To: <1401830941-17086-1-git-send-email-andrea.adami@gmail.com>
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>
---
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
prev parent reply other threads:[~2014-06-03 21:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 21:28 [PATCH 0/2] ARM: sa1100: collie mtd fixes Andrea Adami
2014-06-03 21:29 ` [PATCH 1/2] arm: sa1100: collie: revert back to cfi_probe Andrea Adami
2014-06-03 21:29 ` Andrea Adami [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1401830941-17086-3-git-send-email-andrea.adami@gmail.com \
--to=andrea.adami@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).