• David Woodhouse's avatar
    MTD: Provide XIP support for Intel flash chips. · 4d2a6a76
    David Woodhouse authored
    This allows for MTD support to be used on flash memory which is also used
    for XIP purposes, either XIP kernel or XIP userspace.  The whole idea is
    to relocate functions actually modifying the flash state away from array mode
    to ram and run them with interrupt disabled.  When the flash needs some time
    to complete a certain operation, we poll the processor for pending (but still
    masked) interrupts, and when they occur we suspend the flash operation in order
    to unmask interrupts and let the system run again.
    Signed-off-by: default avatarNicolas Pitre <nico@cam.org>
    Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
    4d2a6a76
Kconfig 9.84 KB