From: Artem Bityutskiy <dedekind1@gmail.com>
To: Vladimir Zapolskiy <vzapolskiy@gmail.com>
Cc: linux-mtd@lists.infradead.org,
Mike Frysinger <vapier.adi@gmail.com>,
Lennert Buytenhek <buytenh@wantstofly.org>,
David Woodhouse <David.Woodhouse@intel.com>
Subject: Re: [PATCH] [MTD] physmap: remove physmap_flash_shutdown() method.
Date: Tue, 06 Apr 2010 11:58:44 +0300 [thread overview]
Message-ID: <1270544324.6754.14.camel@localhost> (raw)
In-Reply-To: <1268400366-14802-1-git-send-email-vzapolskiy@gmail.com>
On Fri, 2010-03-12 at 16:26 +0300, Vladimir Zapolskiy wrote:
> physmap driver operates with cfi, jedec, qinfo and map_rom compliant
> chips. None of interface drivers for all these chips uses actual
> suspend and resume chip operations, but correspondent two methods only
> change flash chip state in drivers' internal state machines, and for
> Intel chips save/restore block locks is done.
>
> To operate with boards with Intel flash chips where RP# pin is not
> asserted on reset there is an already implemented mechanism of reboot
> notifiers, and on reboot the flash moves into defined "read array"
> state.
>
> If CONFIG_PM kernel option is enabled, then physmap_flash_shutdown()
> method is called after reboot notifier work, and save/restore block
> locks operations disturb the chip from default "read array" state,
> thus if the flash is a bootable one, board cann't be booted from it
> after reset.
>
> Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com>
> Cc: David Woodhouse <David.Woodhouse@intel.com>
> Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
> Cc: Mike Frysinger <vapier.adi@gmail.com>
> Cc: Lennert Buytenhek <buytenh@wantstofly.org>
> ---
> drivers/mtd/maps/physmap.c | 16 ----------------
> 1 files changed, 0 insertions(+), 16 deletions(-)
Taken to my l2-mtd-2.6.git / dunno, thanks.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
next prev parent reply other threads:[~2010-04-06 9:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 13:26 [PATCH] [MTD] physmap: remove physmap_flash_shutdown() method Vladimir Zapolskiy
2010-03-12 13:27 ` Mike Frysinger
2010-03-25 8:03 ` Vladimir Zapolskiy
2010-04-06 8:58 ` Artem Bityutskiy [this message]
2010-04-06 10:11 ` Vladimir Zapolskiy
2010-04-06 10:25 ` Artem Bityutskiy
2010-05-13 23:36 ` David Woodhouse
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=1270544324.6754.14.camel@localhost \
--to=dedekind1@gmail.com \
--cc=David.Woodhouse@intel.com \
--cc=buytenh@wantstofly.org \
--cc=linux-mtd@lists.infradead.org \
--cc=vapier.adi@gmail.com \
--cc=vzapolskiy@gmail.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;
as well as URLs for NNTP newsgroup(s).