forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/mm/Kconfig
....@@ -1,9 +1,6 @@
11 # SPDX-License-Identifier: GPL-2.0
22 menu "Memory management options"
33
4
-config QUICKLIST
5
- def_bool y
6
-
74 config MMU
85 bool "Support for memory management hardware"
96 depends on !CPU_SH2
....@@ -18,8 +15,7 @@
1815
1916 config PAGE_OFFSET
2017 hex
21
- default "0x80000000" if MMU && SUPERH32
22
- default "0x20000000" if MMU && SUPERH64
18
+ default "0x80000000" if MMU
2319 default "0x00000000"
2420
2521 config FORCE_MAX_ZONEORDER
....@@ -48,7 +44,7 @@
4844 config MEMORY_START
4945 hex "Physical memory start address"
5046 default "0x08000000"
51
- ---help---
47
+ help
5248 Computers built with Hitachi SuperH processors always
5349 map the ROM starting at address zero. But the processor
5450 does not specify the range that RAM takes.
....@@ -75,12 +71,11 @@
7571
7672 config 29BIT
7773 def_bool !32BIT
78
- depends on SUPERH32
7974 select UNCACHED_MAPPING
8075
8176 config 32BIT
8277 bool
83
- default y if CPU_SH5 || !MMU
78
+ default !MMU
8479
8580 config PMB
8681 bool "Support 32-bit physical addressing through PMB"
....@@ -155,7 +150,7 @@
155150
156151 config IOREMAP_FIXED
157152 def_bool y
158
- depends on X2TLB || SUPERH64
153
+ depends on X2TLB
159154
160155 config UNCACHED_MAPPING
161156 bool
....@@ -187,7 +182,7 @@
187182
188183 config PAGE_SIZE_64KB
189184 bool "64kB"
190
- depends on !MMU || CPU_SH4 || CPU_SH5
185
+ depends on !MMU || CPU_SH4
191186 help
192187 This enables support for 64kB pages, possible on all SH-4
193188 CPUs and later.
....@@ -219,10 +214,6 @@
219214 bool "64MB"
220215 depends on X2TLB
221216
222
-config HUGETLB_PAGE_SIZE_512MB
223
- bool "512MB"
224
- depends on CPU_SH5
225
-
226217 endchoice
227218
228219 config SCHED_MC
....@@ -245,7 +236,7 @@
245236
246237 choice
247238 prompt "Cache mode"
248
- default CACHE_WRITEBACK if CPU_SH2A || CPU_SH3 || CPU_SH4 || CPU_SH5
239
+ default CACHE_WRITEBACK if CPU_SH2A || CPU_SH3 || CPU_SH4
249240 default CACHE_WRITETHROUGH if (CPU_SH2 && !CPU_SH2A)
250241
251242 config CACHE_WRITEBACK