aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r--arch/microblaze/Kconfig51
1 files changed, 33 insertions, 18 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 505a08592423..692fdfce2a23 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -14,9 +14,12 @@ config MICROBLAZE
14 select USB_ARCH_HAS_EHCI 14 select USB_ARCH_HAS_EHCI
15 select ARCH_WANT_OPTIONAL_GPIOLIB 15 select ARCH_WANT_OPTIONAL_GPIOLIB
16 select HAVE_OPROFILE 16 select HAVE_OPROFILE
17 select HAVE_ARCH_KGDB
17 select HAVE_DMA_ATTRS 18 select HAVE_DMA_ATTRS
18 select HAVE_DMA_API_DEBUG 19 select HAVE_DMA_API_DEBUG
19 select TRACING_SUPPORT 20 select TRACING_SUPPORT
21 select OF
22 select OF_FLATTREE
20 23
21config SWAP 24config SWAP
22 def_bool n 25 def_bool n
@@ -48,9 +51,6 @@ config GENERIC_IRQ_PROBE
48config GENERIC_CALIBRATE_DELAY 51config GENERIC_CALIBRATE_DELAY
49 def_bool y 52 def_bool y
50 53
51config GENERIC_TIME
52 def_bool y
53
54config GENERIC_TIME_VSYSCALL 54config GENERIC_TIME_VSYSCALL
55 def_bool n 55 def_bool n
56 56
@@ -75,9 +75,6 @@ config LOCKDEP_SUPPORT
75config HAVE_LATENCYTOP_SUPPORT 75config HAVE_LATENCYTOP_SUPPORT
76 def_bool y 76 def_bool y
77 77
78config DTC
79 def_bool y
80
81source "init/Kconfig" 78source "init/Kconfig"
82 79
83source "kernel/Kconfig.freezer" 80source "kernel/Kconfig.freezer"
@@ -124,18 +121,6 @@ config CMDLINE_FORCE
124 Set this to have arguments from the default kernel command string 121 Set this to have arguments from the default kernel command string
125 override those passed by the boot loader. 122 override those passed by the boot loader.
126 123
127config OF
128 def_bool y
129 select OF_FLATTREE
130
131config PROC_DEVICETREE
132 bool "Support for device tree in /proc"
133 depends on PROC_FS
134 help
135 This option adds a device-tree directory under /proc which contains
136 an image of the device tree that the kernel copies from Open
137 Firmware or other boot firmware. If unsure, say Y here.
138
139endmenu 124endmenu
140 125
141menu "Advanced setup" 126menu "Advanced setup"
@@ -223,6 +208,36 @@ config TASK_SIZE
223 hex "Size of user task space" if TASK_SIZE_BOOL 208 hex "Size of user task space" if TASK_SIZE_BOOL
224 default "0x80000000" 209 default "0x80000000"
225 210
211choice
212 prompt "Page size"
213 default MICROBLAZE_4K_PAGES
214 depends on ADVANCED_OPTIONS && !MMU
215 help
216 Select the kernel logical page size. Increasing the page size
217 will reduce software overhead at each page boundary, allow
218 hardware prefetch mechanisms to be more effective, and allow
219 larger dma transfers increasing IO efficiency and reducing
220 overhead. However the utilization of memory will increase.
221 For example, each cached file will using a multiple of the
222 page size to hold its contents and the difference between the
223 end of file and the end of page is wasted.
224
225 If unsure, choose 4K_PAGES.
226
227config MICROBLAZE_4K_PAGES
228 bool "4k page size"
229
230config MICROBLAZE_8K_PAGES
231 bool "8k page size"
232
233config MICROBLAZE_16K_PAGES
234 bool "16k page size"
235
236config MICROBLAZE_32K_PAGES
237 bool "32k page size"
238
239endchoice
240
226endmenu 241endmenu
227 242
228source "mm/Kconfig" 243source "mm/Kconfig"