[PATCH] [MTD] physmap: remove physmap_flash_shutdown() method.

Artem Bityutskiy dedekind1 at gmail.com
Tue Apr 6 04:58:44 EDT 2010


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 at gmail.com>
> Cc: David Woodhouse <David.Woodhouse at intel.com>
> Cc: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
> Cc: Mike Frysinger <vapier.adi at gmail.com>
> Cc: Lennert Buytenhek <buytenh at 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 (Артём Битюцкий)




More information about the linux-mtd mailing list