ns9xxx: introduce a config variable for the cc9p9360 module
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Tue, 16 Oct 2007 13:32:59 +0000 (15:32 +0200)
committerUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Mon, 31 Mar 2008 06:17:01 +0000 (08:17 +0200)
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>
arch/arm/mach-ns9xxx/Kconfig

index 83c0efa..dd0cd5a 100644 (file)
@@ -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