From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] mx35_3ds: add physmap-flash NOR at CS0
Date: Fri, 20 Aug 2010 19:10:12 +0200 [thread overview]
Message-ID: <20100820171012.GM27749@pengutronix.de> (raw)
In-Reply-To: <4C6D0BEB.7080002@ru.mvista.com>
Hi Sergei,
On Thu, Aug 19, 2010 at 02:48:11PM +0400, Sergei Shtylyov wrote:
>> + .width = 2,
>> +};
>> +
>> +static struct resource mx35pdk_flash_resource = {
>> + .start = MX35_CS0_BASE_ADDR,
>> + .end = MX35_CS0_BASE_ADDR + SZ_64M - 1,
>> + .flags = IORESOURCE_MEM,
>> +};
>> +
>> +static struct platform_device mx35pdk_flash = {
>> + .name = "physmap-flash",
>> + .id = 0,
>
> -1 perhaps as that is probably a single physmap devie on your board?
Generally yes, but we are using command line partition tables and all
our bootloader environments pass physmap-flash.0 as identifier, so it's
better to keep 0.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2010-08-20 17:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 15:46 [PATCH 0/2] mx35_3ds mtd support Michael Grzeschik
2010-08-18 15:46 ` [PATCH 1/2] mx35_3ds: add physmap-flash NOR at CS0 Michael Grzeschik
2010-08-18 16:20 ` [PATCH|RESEND " Michael Grzeschik
2010-08-19 10:48 ` [PATCH " Sergei Shtylyov
2010-08-20 17:10 ` Sascha Hauer [this message]
2010-08-18 15:46 ` [PATCH 2/2] mx35_3ds: add NAND flash Michael Grzeschik
2010-08-18 16:22 ` [PATCH|RESEND " Michael Grzeschik
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=20100820171012.GM27749@pengutronix.de \
--to=s.hauer@pengutronix.de \
--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).