diff options
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r-- | arch/microblaze/Kconfig | 112 |
1 files changed, 109 insertions, 3 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index f8e0722df0cf..b50b845fdd50 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -54,11 +54,9 @@ config GENERIC_GPIO | |||
54 | def_bool y | 54 | def_bool y |
55 | 55 | ||
56 | config PCI | 56 | config PCI |
57 | depends on !MMU | ||
58 | def_bool n | 57 | def_bool n |
59 | 58 | ||
60 | config NO_DMA | 59 | config NO_DMA |
61 | depends on !MMU | ||
62 | def_bool y | 60 | def_bool y |
63 | 61 | ||
64 | source "init/Kconfig" | 62 | source "init/Kconfig" |
@@ -76,7 +74,8 @@ source "kernel/Kconfig.preempt" | |||
76 | source "kernel/Kconfig.hz" | 74 | source "kernel/Kconfig.hz" |
77 | 75 | ||
78 | config MMU | 76 | config MMU |
79 | def_bool n | 77 | bool "MMU support" |
78 | default n | ||
80 | 79 | ||
81 | config NO_MMU | 80 | config NO_MMU |
82 | bool | 81 | bool |
@@ -119,6 +118,113 @@ config PROC_DEVICETREE | |||
119 | 118 | ||
120 | endmenu | 119 | endmenu |
121 | 120 | ||
121 | menu "Advanced setup" | ||
122 | |||
123 | config ADVANCED_OPTIONS | ||
124 | bool "Prompt for advanced kernel configuration options" | ||
125 | depends on MMU | ||
126 | help | ||
127 | This option will enable prompting for a variety of advanced kernel | ||
128 | configuration options. These options can cause the kernel to not | ||
129 | work if they are set incorrectly, but can be used to optimize certain | ||
130 | aspects of kernel memory management. | ||
131 | |||
132 | Unless you know what you are doing, say N here. | ||
133 | |||
134 | comment "Default settings for advanced configuration options are used" | ||
135 | depends on !ADVANCED_OPTIONS | ||
136 | |||
137 | config HIGHMEM_START_BOOL | ||
138 | bool "Set high memory pool address" | ||
139 | depends on ADVANCED_OPTIONS && HIGHMEM | ||
140 | help | ||
141 | This option allows you to set the base address of the kernel virtual | ||
142 | area used to map high memory pages. This can be useful in | ||
143 | optimizing the layout of kernel virtual memory. | ||
144 | |||
145 | Say N here unless you know what you are doing. | ||
146 | |||
147 | config HIGHMEM_START | ||
148 | hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL | ||
149 | depends on MMU | ||
150 | default "0xfe000000" | ||
151 | |||
152 | config LOWMEM_SIZE_BOOL | ||
153 | bool "Set maximum low memory" | ||
154 | depends on ADVANCED_OPTIONS | ||
155 | help | ||
156 | This option allows you to set the maximum amount of memory which | ||
157 | will be used as "low memory", that is, memory which the kernel can | ||
158 | access directly, without having to set up a kernel virtual mapping. | ||
159 | This can be useful in optimizing the layout of kernel virtual | ||
160 | memory. | ||
161 | |||
162 | Say N here unless you know what you are doing. | ||
163 | |||
164 | config LOWMEM_SIZE | ||
165 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL | ||
166 | depends on MMU | ||
167 | default "0x30000000" | ||
168 | |||
169 | config KERNEL_START_BOOL | ||
170 | bool "Set custom kernel base address" | ||
171 | depends on ADVANCED_OPTIONS | ||
172 | help | ||
173 | This option allows you to set the kernel virtual address at which | ||
174 | the kernel will map low memory (the kernel image will be linked at | ||
175 | this address). This can be useful in optimizing the virtual memory | ||
176 | layout of the system. | ||
177 | |||
178 | Say N here unless you know what you are doing. | ||
179 | |||
180 | config KERNEL_START | ||
181 | hex "Virtual address of kernel base" if KERNEL_START_BOOL | ||
182 | default "0xc0000000" if MMU | ||
183 | default KERNEL_BASE_ADDR if !MMU | ||
184 | |||
185 | config TASK_SIZE_BOOL | ||
186 | bool "Set custom user task size" | ||
187 | depends on ADVANCED_OPTIONS | ||
188 | help | ||
189 | This option allows you to set the amount of virtual address space | ||
190 | allocated to user tasks. This can be useful in optimizing the | ||
191 | virtual memory layout of the system. | ||
192 | |||
193 | Say N here unless you know what you are doing. | ||
194 | |||
195 | config TASK_SIZE | ||
196 | hex "Size of user task space" if TASK_SIZE_BOOL | ||
197 | depends on MMU | ||
198 | default "0x80000000" | ||
199 | |||
200 | config CONSISTENT_START_BOOL | ||
201 | bool "Set custom consistent memory pool address" | ||
202 | depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE | ||
203 | help | ||
204 | This option allows you to set the base virtual address | ||
205 | of the the consistent memory pool. This pool of virtual | ||
206 | memory is used to make consistent memory allocations. | ||
207 | |||
208 | config CONSISTENT_START | ||
209 | hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL | ||
210 | depends on MMU | ||
211 | default "0xff100000" if NOT_COHERENT_CACHE | ||
212 | |||
213 | config CONSISTENT_SIZE_BOOL | ||
214 | bool "Set custom consistent memory pool size" | ||
215 | depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE | ||
216 | help | ||
217 | This option allows you to set the size of the the | ||
218 | consistent memory pool. This pool of virtual memory | ||
219 | is used to make consistent memory allocations. | ||
220 | |||
221 | config CONSISTENT_SIZE | ||
222 | hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL | ||
223 | depends on MMU | ||
224 | default "0x00200000" if NOT_COHERENT_CACHE | ||
225 | |||
226 | endmenu | ||
227 | |||
122 | source "mm/Kconfig" | 228 | source "mm/Kconfig" |
123 | 229 | ||
124 | menu "Exectuable file formats" | 230 | menu "Exectuable file formats" |