@@ -3,19 +3,17 @@ config MICROBLAZE
33 def_bool y
44 select ARCH_32BIT_OFF_T
55 select ARCH_NO_SWAP
6- select ARCH_HAS_BINFMT_FLAT if !MMU
76 select ARCH_HAS_DMA_PREP_COHERENT
87 select ARCH_HAS_GCOV_PROFILE_ALL
98 select ARCH_HAS_SYNC_DMA_FOR_CPU
109 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
11- select ARCH_HAS_DMA_SET_UNCACHED if !MMU
1210 select ARCH_MIGHT_HAVE_PC_PARPORT
1311 select ARCH_WANT_IPC_PARSE_VERSION
1412 select BUILDTIME_TABLE_SORT
1513 select TIMER_OF
1614 select CLONE_BACKWARDS3
1715 select COMMON_CLK
18- select DMA_DIRECT_REMAP if MMU
16+ select DMA_DIRECT_REMAP
1917 select GENERIC_ATOMIC64
2018 select GENERIC_CLOCKEVENTS
2119 select GENERIC_CPU_DEVICES
@@ -45,7 +43,7 @@ config MICROBLAZE
4543 select TRACING_SUPPORT
4644 select VIRT_TO_BUS
4745 select CPU_NO_EFFICIENT_FFS
48- select MMU_GATHER_NO_RANGE if MMU
46+ select MMU_GATHER_NO_RANGE
4947 select SPARSE_IRQ
5048 select SET_FS
5149
@@ -96,8 +94,7 @@ menu "Processor type and features"
9694source "kernel/Kconfig.hz"
9795
9896config MMU
99- bool "MMU support"
100- default n
97+ def_bool y
10198
10299comment "Boot options"
103100
@@ -143,18 +140,8 @@ config ADVANCED_OPTIONS
143140comment "Default settings for advanced configuration options are used"
144141 depends on !ADVANCED_OPTIONS
145142
146- config XILINX_UNCACHED_SHADOW
147- bool "Are you using uncached shadow for RAM ?"
148- depends on ADVANCED_OPTIONS && !MMU
149- default n
150- help
151- This is needed to be able to allocate uncachable memory regions.
152- The feature requires the design to define the RAM memory controller
153- window to be twice as large as the actual physical memory.
154-
155143config HIGHMEM
156144 bool "High memory support"
157- depends on MMU
158145 help
159146 The address space of Microblaze processors is only 4 Gigabytes large
160147 and it has to accommodate user address space, kernel address
@@ -167,7 +154,7 @@ config HIGHMEM
167154
168155config LOWMEM_SIZE_BOOL
169156 bool "Set maximum low memory"
170- depends on ADVANCED_OPTIONS && MMU
157+ depends on ADVANCED_OPTIONS
171158 help
172159 This option allows you to set the maximum amount of memory which
173160 will be used as "low memory", that is, memory which the kernel can
@@ -205,12 +192,11 @@ config KERNEL_START_BOOL
205192
206193config KERNEL_START
207194 hex "Virtual address of kernel base" if KERNEL_START_BOOL
208- default "0xc0000000" if MMU
209- default KERNEL_BASE_ADDR if !MMU
195+ default "0xc0000000"
210196
211197config TASK_SIZE_BOOL
212198 bool "Set custom user task size"
213- depends on ADVANCED_OPTIONS && MMU
199+ depends on ADVANCED_OPTIONS
214200 help
215201 This option allows you to set the amount of virtual address space
216202 allocated to user tasks. This can be useful in optimizing the
@@ -222,33 +208,6 @@ config TASK_SIZE
222208 hex "Size of user task space" if TASK_SIZE_BOOL
223209 default "0x80000000"
224210
225- choice
226- prompt "Page size"
227- default MICROBLAZE_4K_PAGES
228- depends on ADVANCED_OPTIONS && !MMU
229- help
230- Select the kernel logical page size. Increasing the page size
231- will reduce software overhead at each page boundary, allow
232- hardware prefetch mechanisms to be more effective, and allow
233- larger dma transfers increasing IO efficiency and reducing
234- overhead. However the utilization of memory will increase.
235- For example, each cached file will using a multiple of the
236- page size to hold its contents and the difference between the
237- end of file and the end of page is wasted.
238-
239- If unsure, choose 4K_PAGES.
240-
241- config MICROBLAZE_4K_PAGES
242- bool "4k page size"
243-
244- config MICROBLAZE_16K_PAGES
245- bool "16k page size"
246-
247- config MICROBLAZE_64K_PAGES
248- bool "64k page size"
249-
250- endchoice
251-
252211endmenu
253212
254213menu "Bus Options"
0 commit comments