aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-27 21:20:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-27 21:20:56 -0400
commit30eebb54b13ef198a3f1a143ee9dd68f295c60de (patch)
tree64a489015c8f5def32820ac069534c6f7297ab70 /arch/microblaze/Kconfig
parent9e4db1c3eed55c22328d8022c2c80adb3093833f (diff)
parente02db0aa3e1976ae4e23a66077d252a2f3ba74c7 (diff)
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
Pull arch/microblaze fixes from Michal Simek * 'next' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: Handle TLB skip size dynamically microblaze: Introduce TLB skip size microblaze: Improve TLB calculation for small systems microblaze: Extend space for compiled-in FDT to 32kB microblaze: Clear all MSR flags on the first kernel instruction microblaze: Use node name instead of compatible string microblaze: Fix mapin_ram function microblaze: Highmem support microblaze: Use active regions microblaze: Show more detailed information about memory microblaze: Introduce fixmap microblaze: mm: Fix lowmem max memory size limits microblaze: mm: Use ZONE_DMA instead of ZONE_NORMAL microblaze: trivial: Fix typo fault in timer.c microblaze: Use vsprintf extention %pf with builtin_return_address microblaze: Add PVR version string for MB 8.20.b and 8.30.a microblaze: Fix makefile to work with latest toolchain microblaze: Fix typo in early_printk.c
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r--arch/microblaze/Kconfig33
1 files changed, 21 insertions, 12 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 11060fa87da3..ac22dc7f4cab 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -1,6 +1,7 @@
1config MICROBLAZE 1config MICROBLAZE
2 def_bool y 2 def_bool y
3 select HAVE_MEMBLOCK 3 select HAVE_MEMBLOCK
4 select HAVE_MEMBLOCK_NODE_MAP
4 select HAVE_FUNCTION_TRACER 5 select HAVE_FUNCTION_TRACER
5 select HAVE_FUNCTION_TRACE_MCOUNT_TEST 6 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
6 select HAVE_FUNCTION_GRAPH_TRACER 7 select HAVE_FUNCTION_GRAPH_TRACER
@@ -28,6 +29,12 @@ config SWAP
28config RWSEM_GENERIC_SPINLOCK 29config RWSEM_GENERIC_SPINLOCK
29 def_bool y 30 def_bool y
30 31
32config ZONE_DMA
33 def_bool y
34
35config ARCH_POPULATES_NODE_MAP
36 def_bool y
37
31config RWSEM_XCHGADD_ALGORITHM 38config RWSEM_XCHGADD_ALGORITHM
32 bool 39 bool
33 40
@@ -153,20 +160,18 @@ config XILINX_UNCACHED_SHADOW
153 The feature requires the design to define the RAM memory controller 160 The feature requires the design to define the RAM memory controller
154 window to be twice as large as the actual physical memory. 161 window to be twice as large as the actual physical memory.
155 162
156config HIGHMEM_START_BOOL 163config HIGHMEM
157 bool "Set high memory pool address" 164 bool "High memory support"
158 depends on ADVANCED_OPTIONS && HIGHMEM 165 depends on MMU
159 help 166 help
160 This option allows you to set the base address of the kernel virtual 167 The address space of Microblaze processors is only 4 Gigabytes large
161 area used to map high memory pages. This can be useful in 168 and it has to accommodate user address space, kernel address
162 optimizing the layout of kernel virtual memory. 169 space as well as some memory mapped IO. That means that, if you
170 have a large amount of physical memory and/or IO, not all of the
171 memory can be "permanently mapped" by the kernel. The physical
172 memory that is not permanently mapped is called "high memory".
163 173
164 Say N here unless you know what you are doing. 174 If unsure, say n.
165
166config HIGHMEM_START
167 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
168 depends on MMU
169 default "0xfe000000"
170 175
171config LOWMEM_SIZE_BOOL 176config LOWMEM_SIZE_BOOL
172 bool "Set maximum low memory" 177 bool "Set maximum low memory"
@@ -255,6 +260,10 @@ config MICROBLAZE_32K_PAGES
255 260
256endchoice 261endchoice
257 262
263config KERNEL_PAD
264 hex "Kernel PAD for unpacking" if ADVANCED_OPTIONS
265 default "0x80000" if MMU
266
258endmenu 267endmenu
259 268
260source "mm/Kconfig" 269source "mm/Kconfig"