• Kevin Hilman's avatar
    ARM: OMAP: unlock flash device during boot · a34c2f3a
    Kevin Hilman authored
    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: default avatarKevin Hilman <khilman@mvista.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    a34c2f3a
omap_nor.c 4.89 KB