m68k: coldfire: enable devicetree use
With minimal devicetree support in place enable the devicetree kernel
configuration options to use it on ColdFire platforms.
This is purely a proof-of-concept change. It is enough to use basic
devicetrees on the MCF5208EVB and M5475EVB platforms.
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 11835eb..b703e37 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -43,6 +43,8 @@
select OLD_SIGSUSPEND3
select UACCESS_MEMCPY if !MMU
select ZONE_DMA
+ select OF if COLDFIRE
+ select OF_EARLY_FLATTREE if COLDFIRE
config CPU_BIG_ENDIAN
def_bool y
diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
index 50ecb16..e2dce38 100644
--- a/arch/m68k/Kconfig.cpu
+++ b/arch/m68k/Kconfig.cpu
@@ -31,6 +31,7 @@
select GENERIC_CSUM
select GPIOLIB
select COMMON_CLK
+ select IRQ_DOMAIN
select HAVE_PAGE_SIZE_8KB if !MMU
config SUN3