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 0c5f43728a71..44b4b76d7eca 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -9,9 +9,12 @@ config MICROBLAZE
9 select USB_ARCH_HAS_EHCI 9 select USB_ARCH_HAS_EHCI
10 select ARCH_WANT_OPTIONAL_GPIOLIB 10 select ARCH_WANT_OPTIONAL_GPIOLIB
11 select HAVE_OPROFILE 11 select HAVE_OPROFILE
12 select HAVE_ARCH_KGDB
12 select HAVE_DMA_ATTRS 13 select HAVE_DMA_ATTRS
13 select HAVE_DMA_API_DEBUG 14 select HAVE_DMA_API_DEBUG
14 select TRACING_SUPPORT 15 select TRACING_SUPPORT
16 select OF
17 select OF_FLATTREE
15 18
16config SWAP 19config SWAP
17 def_bool n 20 def_bool n
@@ -43,9 +46,6 @@ config GENERIC_IRQ_PROBE
43config GENERIC_CALIBRATE_DELAY 46config GENERIC_CALIBRATE_DELAY
44 def_bool y 47 def_bool y
45 48
46config GENERIC_TIME
47 def_bool y
48
49config GENERIC_TIME_VSYSCALL 49config GENERIC_TIME_VSYSCALL
50 def_bool n 50 def_bool n
51 51
@@ -70,9 +70,6 @@ config LOCKDEP_SUPPORT
70config HAVE_LATENCYTOP_SUPPORT 70config HAVE_LATENCYTOP_SUPPORT
71 def_bool y 71 def_bool y
72 72
73config DTC
74 def_bool y
75
76source "init/Kconfig" 73source "init/Kconfig"
77 74
78source "kernel/Kconfig.freezer" 75source "kernel/Kconfig.freezer"
@@ -119,18 +116,6 @@ config CMDLINE_FORCE
119 Set this to have arguments from the default kernel command string 116 Set this to have arguments from the default kernel command string
120 override those passed by the boot loader. 117 override those passed by the boot loader.
121 118
122config OF
123 def_bool y
124 select OF_FLATTREE
125
126config PROC_DEVICETREE
127 bool "Support for device tree in /proc"
128 depends on PROC_FS
129 help
130 This option adds a device-tree directory under /proc which contains
131 an image of the device tree that the kernel copies from Open
132 Firmware or other boot firmware. If unsure, say Y here.
133
134endmenu 119endmenu
135 120
136menu "Advanced setup" 121menu "Advanced setup"
@@ -218,6 +203,36 @@ config TASK_SIZE
218 hex "Size of user task space" if TASK_SIZE_BOOL 203 hex "Size of user task space" if TASK_SIZE_BOOL
219 default "0x80000000" 204 default "0x80000000"
220 205
206choice
207 prompt "Page size"
208 default MICROBLAZE_4K_PAGES
209 depends on ADVANCED_OPTIONS && !MMU
210 help
211 Select the kernel logical page size. Increasing the page size
212 will reduce software overhead at each page boundary, allow
213 hardware prefetch mechanisms to be more effective, and allow
214 larger dma transfers increasing IO efficiency and reducing
215 overhead. However the utilization of memory will increase.
216 For example, each cached file will using a multiple of the
217 page size to hold its contents and the difference between the
218 end of file and the end of page is wasted.
219
220 If unsure, choose 4K_PAGES.
221
222config MICROBLAZE_4K_PAGES
223 bool "4k page size"
224
225config MICROBLAZE_8K_PAGES
226 bool "8k page size"
227
228config MICROBLAZE_16K_PAGES
229 bool "16k page size"
230
231config MICROBLAZE_32K_PAGES
232 bool "32k page size"
233
234endchoice
235
221endmenu 236endmenu
222 237
223source "mm/Kconfig" 238source "mm/Kconfig"