From: Uwe Kleine-König Date: Tue, 16 Oct 2007 13:32:59 +0000 (+0200) Subject: ns9xxx: introduce a config variable for the cc9p9360 module X-Git-Tag: v2.6.26-rc1~1131^2~2^8~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13f429bd1b48ab67037a746ed274d7f58bb325d5;p=linux-2.6 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 --- diff --git a/arch/arm/mach-ns9xxx/Kconfig b/arch/arm/mach-ns9xxx/Kconfig index 83c0efa739..dd0cd5ac4b 100644 --- a/arch/arm/mach-ns9xxx/Kconfig +++ b/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