summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorGrant Likely2010-06-08 15:48:09 +0200
committerGrant Likely2010-07-06 00:14:26 +0200
commit6b884a8d50a6eea2fb3dad7befe748f67193073b (patch)
tree85756fbd09ebaebdeb9a7ab56806bcbc5e793532 /drivers/of/Kconfig
parentof/irq: little endian fixes (diff)
downloadkernel-qcow2-linux-6b884a8d50a6eea2fb3dad7befe748f67193073b.tar.gz
kernel-qcow2-linux-6b884a8d50a6eea2fb3dad7befe748f67193073b.tar.xz
kernel-qcow2-linux-6b884a8d50a6eea2fb3dad7befe748f67193073b.zip
of/address: merge of_iomap()
Merge common code between Microblaze and PowerPC. This patch creates new of_address.h and address.c files to containing address translation and mapping routines. First routine to be moved it of_iomap() Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Michal Simek <monstr@monstr.eu> CC: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index b87495efa16e..097f42aebe90 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -6,6 +6,10 @@ config OF_DYNAMIC
def_bool y
depends on OF && PPC_OF
+config OF_ADDRESS
+ def_bool y
+ depends on OF && !SPARC
+
config OF_IRQ
def_bool y
depends on OF && !SPARC