]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: unlock flash device during boot
authorKevin Hilman <khilman@mvista.com>
Wed, 17 Oct 2007 22:25:26 +0000 (15:25 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2007 12:53:20 +0000 (05:53 -0700)
commita34c2f3a88498257a53630f023afe07d5e6dbdbc
tree22d1145d79ae9beb21b83afa1817654e20bd7918
parentc189170e1c76285273ed5937fe4503ebdcbfe30c
ARM: OMAP: unlock flash device during boot

The bootloader may lock the flash device upon booting.  This requires
the use of 'flash_unlock' on each partition before using them.

However, when booting from flash the MTD driver is unable to "mark
space as dirty" since the device is locked.  This results lots of boot
warnings from the MTD layer.

The MTD driver for OMAP needs to unlock the device during init so
booting from flash can work without errors.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mtd/maps/omap_nor.c