Commit 958cab0f authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <>
parent b4244738
......@@ -1125,6 +1125,11 @@ config ARM_TIMER_SP804
source arch/arm/mm/Kconfig
default 16 if ARCH_EP93XX
default 8
config IWMMXT
bool "Enable iWMMXt support"
depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4
......@@ -192,11 +192,7 @@ static const struct tagtable __tagtable_##fn __tag = { tag, fn }
* Memory map description
# define NR_BANKS 16
# define NR_BANKS 8
struct membank {
phys_addr_t start;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment