Ver Fonte

ns9xxx: introduce a config variable for the cc9p9360 module

Moreover now it's the module that selects the processor, and not the machine
anymore.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Uwe Kleine-König há 17 anos atrás
pai
commit
13f429bd1b
1 ficheiros alterados com 16 adições e 12 exclusões
  1. 16 12
      arch/arm/mach-ns9xxx/Kconfig

+ 16 - 12
arch/arm/mach-ns9xxx/Kconfig

@@ -5,9 +5,23 @@ menu "NS9xxx Implementations"
 config NS9XXX_HAVE_SERIAL8250
 	bool
 
+config PROCESSOR_NS9360
+	bool
+
+config MODULE_CC9P9360
+	bool
+	select PROCESSOR_NS9360
+
+config BOARD_A9M9750DEV
+	select NS9XXX_HAVE_SERIAL8250
+	bool
+
+config BOARD_JSCC9P9360
+	bool
+
 config MACH_CC9P9360DEV
 	bool "ConnectCore 9P 9360 on an A9M9750 Devboard"
-	select PROCESSOR_NS9360
+	select MODULE_CC9P9360
 	select BOARD_A9M9750DEV
 	help
 	  Say Y here if you are using the Digi ConnectCore 9P 9360
@@ -15,22 +29,12 @@ config MACH_CC9P9360DEV
 
 config MACH_CC9P9360JS
 	bool "ConnectCore 9P 9360 on a JSCC9P9360 Devboard"
-	select PROCESSOR_NS9360
+	select MODULE_CC9P9360
 	select BOARD_JSCC9P9360
 	help
 	  Say Y here if you are using the Digi ConnectCore 9P 9360
 	  on an JSCC9P9360 Development Board.
 
-config PROCESSOR_NS9360
-	bool
-
-config BOARD_A9M9750DEV
-	bool
-	select NS9XXX_HAVE_SERIAL8250
-
-config BOARD_JSCC9P9360
-	bool
-
 endmenu
 
 endif