From: Tony Lindgren <tony@atomide.com>
To: vimal singh <vimalsingh@ti.com>
Cc: dedekind@infradead.org, linux-omap@vger.kernel.org,
adrian.hunter@nokia.com, Tony Lindgren <tony@atommide.com>
Subject: Re: [PATCH] onenand_init: Allow disabling sync read and write based on flags, v2 (Re: [PATCH 1/4] onenand init: Rename board-n800-flash.c to gpmc-onenand.c)
Date: Mon, 4 May 2009 08:59:24 -0700 [thread overview]
Message-ID: <20090504155922.GR12986@atomide.com> (raw)
In-Reply-To: <65231.192.168.10.89.1241415407.squirrel@dbdmail.itg.ti.com>
* vimal singh <vimalsingh@ti.com> [090503 22:36]:
>
>
> On Fri, May 1, 2009 at 11:08 PM, Tony Lindgren <tony@atomide.com> wrote:
> > * Tony Lindgren <tony@atomide.com> [090430 11:56]:
> >> * Tony Lindgren <tony@atomide.com> [090430 07:06]:
> >> > * vimal singh <vimalsingh@ti.com> [090429 23:33]:
> >> > > 'gpmc-onenand.c' is still confusing name. This is not going to used in
> >> > > all boards anyway.
> >> >
> >> > Why do you think this cannot be used for all boards?
> >> >
> >> > The GPMC timings are totally based on the onenand chip features.
> >>
> >> And these two patches make omap3430sdp to work with the gpmc-onenand
> >> code. Sync mode does not work, but it seems like it was never enabled
> >> for sdp anyways.
> >>
> >> Similar patch should work for other boards too.
> >
> > Setting the sync_write depends on flags and processor, not just flags.
> > Here's a fixed version of this patch.
> OK, these both patches seems good to me...
OK, thanks for looking.
> Earlier I was in impression that this patch series is basically to remove
> board-*-flash.c files. Since in 3430sdp boards we find out 'CS' number for
> flash devices dynamically in different versions of boards. So, I was confused.
Well looks like those functions are used for at least few boards, so we could
have functions like gpmc_probe_onenand() and gpmc_probe_nor() functions that
could be called from board-*.c files.
That way we could have generic gpmc-onenand.c and gpmc-nor.c, and still do
the necessary probe logic in the board-*.c files.
Regards,
Tony
next prev parent reply other threads:[~2009-05-04 15:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 5:36 [PATCH] onenand_init: Allow disabling sync read and write based on flags, v2 (Re: [PATCH 1/4] onenand init: Rename board-n800-flash.c to gpmc-onenand.c) vimal singh
2009-05-04 15:59 ` Tony Lindgren [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-05-05 5:52 vimal singh
2009-05-05 17:00 ` Tony Lindgren
2009-04-30 6:33 [PATCH 1/4] onenand init: Rename board-n800-flash.c to gpmc-onenand.c vimal singh
2009-04-30 14:03 ` Tony Lindgren
2009-04-30 18:53 ` [PATCH] onenand_init: Allow disabling sync read and write based on flags (Re: [PATCH 1/4] onenand init: Rename board-n800-flash.c to gpmc-onenand.c) Tony Lindgren
2009-05-01 17:38 ` [PATCH] onenand_init: Allow disabling sync read and write based on flags, v2 " Tony Lindgren
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=20090504155922.GR12986@atomide.com \
--to=tony@atomide.com \
--cc=adrian.hunter@nokia.com \
--cc=dedekind@infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atommide.com \
--cc=vimalsingh@ti.com \
/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