• David Woodhouse's avatar
    [MTD] Fix CFI build error when no map width or interleave supported · 241651d0
    David Woodhouse authored
    When building NOR flash support, you have compile-time options for the
    bus width and the number of individual chips which are interleaved
    together onto that bus. The code to deal with arbitrary geometry is a
    bit convoluted, and people want to just configure it for the specific
    hardware they have, to avoid the runtime overhead.
    
    Selecting _none_ of the available options doesn't make any sense. You
    should have at least one. This makes it build though, since people
    persist in trying.
    Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
    241651d0
cfi.h 12.3 KB