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 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 | ||
21 | config SWAP | 24 | config SWAP |
22 | def_bool n | 25 | def_bool n |
@@ -48,9 +51,6 @@ config GENERIC_IRQ_PROBE | |||
48 | config GENERIC_CALIBRATE_DELAY | 51 | config GENERIC_CALIBRATE_DELAY |
49 | def_bool y | 52 | def_bool y |
50 | 53 | ||
51 | config GENERIC_TIME | ||
52 | def_bool y | ||
53 | |||
54 | config GENERIC_TIME_VSYSCALL | 54 | config GENERIC_TIME_VSYSCALL |
55 | def_bool n | 55 | def_bool n |
56 | 56 | ||
@@ -75,9 +75,6 @@ config LOCKDEP_SUPPORT | |||
75 | config HAVE_LATENCYTOP_SUPPORT | 75 | config HAVE_LATENCYTOP_SUPPORT |
76 | def_bool y | 76 | def_bool y |
77 | 77 | ||
78 | config DTC | ||
79 | def_bool y | ||
80 | |||
81 | source "init/Kconfig" | 78 | source "init/Kconfig" |
82 | 79 | ||
83 | source "kernel/Kconfig.freezer" | 80 | source "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 | ||
127 | config OF | ||
128 | def_bool y | ||
129 | select OF_FLATTREE | ||
130 | |||
131 | config 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 | |||
139 | endmenu | 124 | endmenu |
140 | 125 | ||
141 | menu "Advanced setup" | 126 | menu "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 | ||
211 | choice | ||
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 | |||
227 | config MICROBLAZE_4K_PAGES | ||
228 | bool "4k page size" | ||
229 | |||
230 | config MICROBLAZE_8K_PAGES | ||
231 | bool "8k page size" | ||
232 | |||
233 | config MICROBLAZE_16K_PAGES | ||
234 | bool "16k page size" | ||
235 | |||
236 | config MICROBLAZE_32K_PAGES | ||
237 | bool "32k page size" | ||
238 | |||
239 | endchoice | ||
240 | |||
226 | endmenu | 241 | endmenu |
227 | 242 | ||
228 | source "mm/Kconfig" | 243 | source "mm/Kconfig" |