diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-11 05:04:00 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-13 03:52:02 -0500 |
commit | 958cab0fbe13dc89b6f779d495fed283c0e7de5a (patch) | |
tree | 763ba2736c49661cafcf7e157879c53e41d121e5 /arch/arm/Kconfig | |
parent | b4244738d20a631cd27fa105a2db71622618ab4e (diff) |
ARM: Allow Kconfig to control the definition of NR_BANKS
Move the sizing of NR_BANKS to a Kconfig control instead of selecting
it in a header file depending on platform selection. This allows new
additions to its dependencies to be handled more gracefully.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e084b7e981e8..928cbcc1feca 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1125,6 +1125,11 @@ config ARM_TIMER_SP804 | |||
1125 | 1125 | ||
1126 | source arch/arm/mm/Kconfig | 1126 | source arch/arm/mm/Kconfig |
1127 | 1127 | ||
1128 | config ARM_NR_BANKS | ||
1129 | int | ||
1130 | default 16 if ARCH_EP93XX | ||
1131 | default 8 | ||
1132 | |||
1128 | config IWMMXT | 1133 | config IWMMXT |
1129 | bool "Enable iWMMXt support" | 1134 | bool "Enable iWMMXt support" |
1130 | depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4 | 1135 | depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4 |