From: Artem Bityutskiy <dedekind1@gmail.com>
To: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] mtd: add lock fixup for AT49BV640D and AT49BV640DT chips
Date: Tue, 03 Nov 2009 09:47:43 +0200 [thread overview]
Message-ID: <1257234463.21596.54.camel@localhost> (raw)
In-Reply-To: <20091103084433.7bc4d9fb@hcegtvedt.norway.atmel.com>
On Tue, 2009-11-03 at 08:44 +0100, Hans-Christian Egtvedt wrote:
> On Tue, 03 Nov 2009 09:05:14 +0200
> Artem Bityutskiy <dedekind1@gmail.com> wrote:
>
> <snipp Atmel AT49BV640D(T) powerup lock fixup patch>
>
> > > static void fixup_use_write_buffers(struct mtd_info *mtd, void *param)
> > > {
> > > struct map_info *map = mtd->priv;
> > > @@ -313,6 +319,8 @@ static struct cfi_fixup fixup_table[] = {
> > > * we know that is the case.
> > > */
> > > { CFI_MFR_ANY, CFI_ID_ANY, fixup_use_point, NULL },
> > > + { CFI_MFR_ATMEL, AT49BV640D, fixup_use_at49bv640dx_lock, NULL },
> > > + { CFI_MFR_ATMEL, AT49BV640DT, fixup_use_at49bv640dx_lock, NULL },
> > > { 0, 0, NULL, NULL }
> > > };
> >
> > Why you add this to the fixup_table, not cfi_fixup_table?
> >
>
> It would probably be more appropriate to place it after the first Atmel
> fixup in the cfi_fixup_table, yes.
>
> Really unsure why I ended up putting it in the fixup_table, because I
> used the fixup_unlock_powerup_lock as reference.
>
> It is probably more correct that I set the FeatureSupport 0x20 (32)
> feature to indicate that the flash has "Instant block lock". I'll
> submit a v2 for the latter unless you have some other feedback?
The only other feed-back would be to CC Nicolas Pitre <nico@fluxnic.net>
when you re-submit v2.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2009-11-03 7:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-29 12:05 [PATCH] mtd: add lock fixup for AT49BV640D and AT49BV640DT chips Hans-Christian Egtvedt
2009-11-03 7:05 ` Artem Bityutskiy
2009-11-03 7:44 ` Hans-Christian Egtvedt
2009-11-03 7:47 ` Artem Bityutskiy [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=1257234463.21596.54.camel@localhost \
--to=dedekind1@gmail.com \
--cc=hans-christian.egtvedt@atmel.com \
--cc=linux-mtd@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