aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-06 17:58:56 +0900
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 02:43:49 +0000
commit520588f47f20a6dcaf81655e1da378e5fe6d5015 (patch)
treefb7876b4f0f099e834612202e8b21c2deed78bcb /arch/sh/mm/Kconfig
parentb241cb0c885e55839fb0f93c6a4539c5416cc39f (diff)
downloadkernel_samsung_smdk4412-520588f47f20a6dcaf81655e1da378e5fe6d5015.tar.gz
kernel_samsung_smdk4412-520588f47f20a6dcaf81655e1da378e5fe6d5015.tar.bz2
kernel_samsung_smdk4412-520588f47f20a6dcaf81655e1da378e5fe6d5015.zip
sh: URAM node support for SH7722.
This adds the URAM block on SH7722 as a separate node. Sparsemem is required for this, or it can simply be disabled by explicitly selecting a flatmem model. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r--arch/sh/mm/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 8c5b73ab477..dd9b226c5d4 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -211,6 +211,7 @@ config CPU_SUBTYPE_SH7722
select CPU_SH4AL_DSP
select CPU_SHX2
select CPU_HAS_IPR_IRQ
+ select ARCH_SPARSEMEM_ENABLE
endchoice
@@ -321,6 +322,7 @@ config ARCH_SPARSEMEM_DEFAULT
config MAX_ACTIVE_REGIONS
int
+ default "2" if (CPU_SUBTYPE_SH7722 && SPARSEMEM)
default "1"
config ARCH_POPULATES_NODE_MAP