@@ -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_CPU_DEVICES
2119 select GENERIC_IDLE_POLL_SETUP
@@ -44,7 +42,7 @@ config MICROBLAZE
4442 select TRACING_SUPPORT
4543 select VIRT_TO_BUS
4644 select CPU_NO_EFFICIENT_FFS
47- select MMU_GATHER_NO_RANGE if MMU
45+ select MMU_GATHER_NO_RANGE
4846 select SPARSE_IRQ
4947 select SET_FS
5048
@@ -95,8 +93,7 @@ menu "Processor type and features"
9593source "kernel/Kconfig.hz"
9694
9795config MMU
98- bool "MMU support"
99- default n
96+ def_bool y
10097
10198comment "Boot options"
10299
@@ -142,18 +139,8 @@ config ADVANCED_OPTIONS
142139comment "Default settings for advanced configuration options are used"
143140 depends on !ADVANCED_OPTIONS
144141
145- config XILINX_UNCACHED_SHADOW
146- bool "Are you using uncached shadow for RAM ?"
147- depends on ADVANCED_OPTIONS && !MMU
148- default n
149- help
150- This is needed to be able to allocate uncachable memory regions.
151- The feature requires the design to define the RAM memory controller
152- window to be twice as large as the actual physical memory.
153-
154142config HIGHMEM
155143 bool "High memory support"
156- depends on MMU
157144 select KMAP_LOCAL
158145 help
159146 The address space of Microblaze processors is only 4 Gigabytes large
@@ -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