diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-01-31 08:20:21 -0500 |
---|---|---|
committer | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-03-31 02:17:00 -0400 |
commit | 210b94e864de9d50ed08603a1ff0834603f309e0 (patch) | |
tree | 7743310b311efadfdfc257b64aecd90da3a9f253 /arch/arm/mach-ns9xxx/Kconfig | |
parent | 05dda977f2574c3341abef9b74c27d2b362e1e3a (diff) |
ns9xxx: move registration of serial8250 to a dedicated file
Now the needed structs are allocated dynamically from __init code reducing
memory usage if the kernel runs on a board different from a9m9750dev.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Diffstat (limited to 'arch/arm/mach-ns9xxx/Kconfig')
-rw-r--r-- | arch/arm/mach-ns9xxx/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ns9xxx/Kconfig b/arch/arm/mach-ns9xxx/Kconfig index 8584ed107991..83c0efa7399c 100644 --- a/arch/arm/mach-ns9xxx/Kconfig +++ b/arch/arm/mach-ns9xxx/Kconfig | |||
@@ -2,6 +2,9 @@ if ARCH_NS9XXX | |||
2 | 2 | ||
3 | menu "NS9xxx Implementations" | 3 | menu "NS9xxx Implementations" |
4 | 4 | ||
5 | config NS9XXX_HAVE_SERIAL8250 | ||
6 | bool | ||
7 | |||
5 | config MACH_CC9P9360DEV | 8 | config MACH_CC9P9360DEV |
6 | bool "ConnectCore 9P 9360 on an A9M9750 Devboard" | 9 | bool "ConnectCore 9P 9360 on an A9M9750 Devboard" |
7 | select PROCESSOR_NS9360 | 10 | select PROCESSOR_NS9360 |
@@ -23,6 +26,7 @@ config PROCESSOR_NS9360 | |||
23 | 26 | ||
24 | config BOARD_A9M9750DEV | 27 | config BOARD_A9M9750DEV |
25 | bool | 28 | bool |
29 | select NS9XXX_HAVE_SERIAL8250 | ||
26 | 30 | ||
27 | config BOARD_JSCC9P9360 | 31 | config BOARD_JSCC9P9360 |
28 | bool | 32 | bool |