diff options
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r-- | arch/microblaze/Kconfig | 51 |
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 | ||
16 | config SWAP | 19 | config SWAP |
17 | def_bool n | 20 | def_bool n |
@@ -43,9 +46,6 @@ config GENERIC_IRQ_PROBE | |||
43 | config GENERIC_CALIBRATE_DELAY | 46 | config GENERIC_CALIBRATE_DELAY |
44 | def_bool y | 47 | def_bool y |
45 | 48 | ||
46 | config GENERIC_TIME | ||
47 | def_bool y | ||
48 | |||
49 | config GENERIC_TIME_VSYSCALL | 49 | config GENERIC_TIME_VSYSCALL |
50 | def_bool n | 50 | def_bool n |
51 | 51 | ||
@@ -70,9 +70,6 @@ config LOCKDEP_SUPPORT | |||
70 | config HAVE_LATENCYTOP_SUPPORT | 70 | config HAVE_LATENCYTOP_SUPPORT |
71 | def_bool y | 71 | def_bool y |
72 | 72 | ||
73 | config DTC | ||
74 | def_bool y | ||
75 | |||
76 | source "init/Kconfig" | 73 | source "init/Kconfig" |
77 | 74 | ||
78 | source "kernel/Kconfig.freezer" | 75 | source "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 | ||
122 | config OF | ||
123 | def_bool y | ||
124 | select OF_FLATTREE | ||
125 | |||
126 | config 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 | |||
134 | endmenu | 119 | endmenu |
135 | 120 | ||
136 | menu "Advanced setup" | 121 | menu "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 | ||
206 | choice | ||
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 | |||
222 | config MICROBLAZE_4K_PAGES | ||
223 | bool "4k page size" | ||
224 | |||
225 | config MICROBLAZE_8K_PAGES | ||
226 | bool "8k page size" | ||
227 | |||
228 | config MICROBLAZE_16K_PAGES | ||
229 | bool "16k page size" | ||
230 | |||
231 | config MICROBLAZE_32K_PAGES | ||
232 | bool "32k page size" | ||
233 | |||
234 | endchoice | ||
235 | |||
221 | endmenu | 236 | endmenu |
222 | 237 | ||
223 | source "mm/Kconfig" | 238 | source "mm/Kconfig" |