[PATCH 13/13] m68k: coldfire: enable devicetree use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 arch/m68k/Kconfig     | 2 ++
 arch/m68k/Kconfig.cpu | 1 +
 2 files changed, 3 insertions(+)

diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index b2ed0308c0ea..be87aef84373 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -41,6 +41,8 @@ config M68K
 	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 50ecb16d0a1f..e2dce38607cf 100644
--- a/arch/m68k/Kconfig.cpu
+++ b/arch/m68k/Kconfig.cpu
@@ -31,6 +31,7 @@ config COLDFIRE
 	select GENERIC_CSUM
 	select GPIOLIB
 	select COMMON_CLK
+	select IRQ_DOMAIN
 	select HAVE_PAGE_SIZE_8KB if !MMU
 
 config SUN3
-- 
2.43.0





[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux