Skip to content

Commit

Permalink
Introduce CONFIG_GENERIC_IO
Browse files Browse the repository at this point in the history
There are situations where CONFIG_HAS_IOMEM is too restrictive.
For example CONFIG_MTD_NAND_NANDSIM depends on CONFIG_HAS_IOMEM
but it works perfectly fine if an architecture without io memory
just includes asm-generic/io.h or implements everything defined in it.
UML is such a corner case.

Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Richard Weinberger committed Mar 24, 2012
1 parent 4c3ff74 commit 087fafd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ config GENERIC_IOMAP
bool
select GENERIC_PCI_IOMAP

config GENERIC_IO
boolean
default n

config CRC_CCITT
tristate "CRC-CCITT functions"
help
Expand Down Expand Up @@ -224,6 +228,7 @@ config BTREE
config HAS_IOMEM
boolean
depends on !NO_IOMEM
select GENERIC_IO
default y

config HAS_IOPORT
Expand Down

0 comments on commit 087fafd

Please sign in to comment.