Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 087fafd1 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

Introduce CONFIG_GENERIC_IO



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: default avatarRichard Weinberger <richard@nod.at>
parent 4c3ff747
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -29,6 +29,10 @@ config GENERIC_IOMAP
	bool
	bool
	select GENERIC_PCI_IOMAP
	select GENERIC_PCI_IOMAP


config GENERIC_IO
	boolean
	default n

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


config HAS_IOPORT
config HAS_IOPORT