hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/m68k/Kconfig.cpu
....@@ -25,10 +25,11 @@
2525 bool "Coldfire CPU family support"
2626 select ARCH_HAVE_CUSTOM_GPIO_H
2727 select CPU_HAS_NO_BITFIELDS
28
+ select CPU_HAS_NO_CAS
2829 select CPU_HAS_NO_MULDIV64
2930 select GENERIC_CSUM
3031 select GPIOLIB
31
- select HAVE_CLK
32
+ select HAVE_LEGACY_CLK
3233
3334 endchoice
3435
....@@ -38,6 +39,7 @@
3839 bool "MC68000"
3940 depends on !MMU
4041 select CPU_HAS_NO_BITFIELDS
42
+ select CPU_HAS_NO_CAS
4143 select CPU_HAS_NO_MULDIV64
4244 select CPU_HAS_NO_UNALIGNED
4345 select GENERIC_CSUM
....@@ -53,6 +55,7 @@
5355 config MCPU32
5456 bool
5557 select CPU_HAS_NO_BITFIELDS
58
+ select CPU_HAS_NO_CAS
5659 select CPU_HAS_NO_UNALIGNED
5760 select CPU_NO_EFFICIENT_FFS
5861 help
....@@ -299,6 +302,7 @@
299302 bool
300303
301304 config M54xx
305
+ select HAVE_PCI
302306 bool
303307
304308 endif # COLDFIRE
....@@ -308,7 +312,7 @@
308312
309313 config M68KFPU_EMU
310314 bool "Math emulation support"
311
- depends on MMU
315
+ depends on M68KCLASSIC && FPU
312316 help
313317 At some point in the future, this will cause floating-point math
314318 instructions to be emulated by the kernel on machines that lack a
....@@ -342,7 +346,7 @@
342346 config ADVANCED
343347 bool "Advanced configuration options"
344348 depends on MMU
345
- ---help---
349
+ help
346350 This gives you access to some advanced options for the CPU. The
347351 defaults should be fine for most users, but these options may make
348352 it possible for you to improve performance somewhat if you know what
....@@ -356,8 +360,8 @@
356360
357361 config RMW_INSNS
358362 bool "Use read-modify-write instructions"
359
- depends on ADVANCED
360
- ---help---
363
+ depends on ADVANCED && !CPU_HAS_NO_CAS
364
+ help
361365 This allows to use certain instructions that work with indivisible
362366 read-modify-write bus cycles. While this is faster than the
363367 workaround of disabling interrupts, it can conflict with DMA
....@@ -385,7 +389,7 @@
385389 config 060_WRITETHROUGH
386390 bool "Use write-through caching for 68060 supervisor accesses"
387391 depends on ADVANCED && M68060
388
- ---help---
392
+ help
389393 The 68060 generally uses copyback caching of recently accessed data.
390394 Copyback caching means that memory writes will be held in an on-chip
391395 cache and only written back to memory some time later. Saying Y
....@@ -410,6 +414,9 @@
410414 config CPU_HAS_NO_BITFIELDS
411415 bool
412416
417
+config CPU_HAS_NO_CAS
418
+ bool
419
+
413420 config CPU_HAS_NO_MULDIV64
414421 bool
415422