Skip to content
Commit 241651d0 authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] Fix CFI build error when no map width or interleave supported



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>
parent d15057b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment