Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) comment "Processor Type"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 	prompt "CPU family support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 	default M68KCLASSIC if MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 	default COLDFIRE if !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 	  The Freescale (was Motorola) M68K family of processors implements
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 	  the full 68000 processor instruction set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 	  The Freescale ColdFire family of processors is a modern derivative
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 	  of the 68000 processor family. They are mainly targeted at embedded
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 	  applications, and are all System-On-Chip (SOC) devices, as opposed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 	  to stand alone CPUs. They implement a subset of the original 68000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 	  processor instruction set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 	  If you anticipate running this kernel on a computer with a classic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 	  MC68xxx processor, select M68KCLASSIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	  If you anticipate running this kernel on a computer with a ColdFire
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	  processor, select COLDFIRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) config M68KCLASSIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 	bool "Classic M68K CPU family support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) config COLDFIRE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 	bool "Coldfire CPU family support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	select ARCH_HAVE_CUSTOM_GPIO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	select CPU_HAS_NO_BITFIELDS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	select CPU_HAS_NO_CAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	select CPU_HAS_NO_MULDIV64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	select GENERIC_CSUM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	select GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	select HAVE_LEGACY_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) if M68KCLASSIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) config M68000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	bool "MC68000"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 	select CPU_HAS_NO_BITFIELDS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	select CPU_HAS_NO_CAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	select CPU_HAS_NO_MULDIV64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	select CPU_HAS_NO_UNALIGNED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	select GENERIC_CSUM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	select HAVE_ARCH_HASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 	  The Freescale (was Motorola) 68000 CPU is the first generation of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	  the well known M68K family of processors. The CPU core as well as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	  being available as a stand alone CPU was also used in many
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 	  System-On-Chip devices (eg 68328, 68302, etc). It does not contain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	  a paging MMU.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) config MCPU32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	select CPU_HAS_NO_BITFIELDS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	select CPU_HAS_NO_CAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	select CPU_HAS_NO_UNALIGNED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 	  The Freescale (was then Motorola) CPU32 is a CPU core that is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 	  based on the 68020 processor. For the most part it is used in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 	  System-On-Chip parts, and does not contain a paging MMU.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) config M68020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	bool "68020 support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	depends on MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	select FPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	select CPU_HAS_ADDRESS_SPACES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 	  If you anticipate running this kernel on a computer with a MC68020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	  processor, say Y. Otherwise, say N. Note that the 68020 requires a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	  68851 MMU (Memory Management Unit) to run Linux/m68k, except on the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	  Sun 3, which provides its own version.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) config M68030
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	bool "68030 support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	depends on MMU && !MMU_SUN3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 	select FPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 	select CPU_HAS_ADDRESS_SPACES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	  If you anticipate running this kernel on a computer with a MC68030
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	  processor, say Y. Otherwise, say N. Note that a MC68EC030 will not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	  work, as it does not include an MMU (Memory Management Unit).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) config M68040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 	bool "68040 support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	depends on MMU && !MMU_SUN3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	select FPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	select CPU_HAS_ADDRESS_SPACES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 	  If you anticipate running this kernel on a computer with a MC68LC040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	  or MC68040 processor, say Y. Otherwise, say N. Note that an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	  MC68EC040 will not work, as it does not include an MMU (Memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	  Management Unit).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) config M68060
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	bool "68060 support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	depends on MMU && !MMU_SUN3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	select FPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 	select CPU_HAS_ADDRESS_SPACES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	  If you anticipate running this kernel on a computer with a MC68060
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	  processor, say Y. Otherwise, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) config M68328
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	bool "MC68328"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	select M68000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	  Motorola 68328 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) config M68EZ328
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	bool "MC68EZ328"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 	select M68000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 	  Motorola 68EX328 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) config M68VZ328
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	bool "MC68VZ328"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	select M68000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	  Motorola 68VZ328 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) endif # M68KCLASSIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) if COLDFIRE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 	prompt "ColdFire SoC type"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 	default M520x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	  Select the type of ColdFire System-on-Chip (SoC) that you want
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 	  to build for.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) config M5206
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 	bool "MCF5206"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	select COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	  Motorola ColdFire 5206 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) config M5206e
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 	bool "MCF5206e"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 	select COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 	  Motorola ColdFire 5206e processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) config M520x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 	bool "MCF520x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 	select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 	select HAVE_CACHE_SPLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 	   Freescale Coldfire 5207/5208 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) config M523x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 	bool "MCF523x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 	select HAVE_CACHE_SPLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) 	select HAVE_IPSBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 	  Freescale Coldfire 5230/1/2/4/5 processor support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) config M5249
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 	bool "MCF5249"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	select COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 	  Motorola ColdFire 5249 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) config M525x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) 	bool "MCF525x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 	select COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 	  Freescale (Motorola) Coldfire 5251/5253 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) config M5271
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	bool "MCF5271"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 	select M527x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 	select HAVE_CACHE_SPLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 	select HAVE_IPSBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 	  Freescale (Motorola) ColdFire 5270/5271 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) config M5272
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 	bool "MCF5272"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 	select COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 	  Motorola ColdFire 5272 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) config M5275
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 	bool "MCF5275"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) 	select M527x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 	select HAVE_CACHE_SPLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) 	select HAVE_IPSBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 	select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 	  Freescale (Motorola) ColdFire 5274/5275 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) config M528x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 	bool "MCF528x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) 	select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) 	select HAVE_CACHE_SPLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) 	select HAVE_IPSBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 	  Motorola ColdFire 5280/5282 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) config M5307
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 	bool "MCF5307"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) 	select COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) 	select HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) 	  Motorola ColdFire 5307 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) config M532x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) 	bool "MCF532x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) 	select M53xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) 	select HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 	  Freescale (Motorola) ColdFire 532x processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) config M537x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) 	bool "MCF537x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) 	select M53xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) 	select HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) 	  Freescale ColdFire 537x processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) config M5407
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) 	bool "MCF5407"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) 	depends on !MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) 	select COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) 	select HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) 	  Motorola ColdFire 5407 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) config M547x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) 	bool "MCF547x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) 	select M54xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) 	select MMU_COLDFIRE if MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) 	select FPU if MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) 	select HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) 	  Freescale ColdFire 5470/5471/5472/5473/5474/5475 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) config M548x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) 	bool "MCF548x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) 	select MMU_COLDFIRE if MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) 	select FPU if MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) 	select M54xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) 	select HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) 	select HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) 	select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) 	  Freescale ColdFire 5480/5481/5482/5483/5484/5485 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) config M5441x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) 	bool "MCF5441x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) 	select MMU_COLDFIRE if MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) 	select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) 	select HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) 	  Freescale Coldfire 54410/54415/54416/54417/54418 processor support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) config M527x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) config M53xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) config M54xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) 	select HAVE_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) endif # COLDFIRE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) comment "Processor Specific Options"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) config M68KFPU_EMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) 	bool "Math emulation support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) 	depends on MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) 	  At some point in the future, this will cause floating-point math
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) 	  instructions to be emulated by the kernel on machines that lack a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) 	  floating-point math coprocessor.  Thrill-seekers and chronically
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) 	  sleep-deprived psychotic hacker types can say Y now, everyone else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) 	  should probably wait a while.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) config M68KFPU_EMU_EXTRAPREC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) 	bool "Math emulation extra precision"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) 	depends on M68KFPU_EMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) 	  The fpu uses normally a few bit more during calculations for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) 	  correct rounding, the emulator can (often) do the same but this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) 	  extra calculation can cost quite some time, so you can disable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) 	  it here. The emulator will then "only" calculate with a 64 bit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) 	  mantissa and round slightly incorrect, what is more than enough
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) 	  for normal usage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) config M68KFPU_EMU_ONLY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) 	bool "Math emulation only kernel"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) 	depends on M68KFPU_EMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) 	  This option prevents any floating-point instructions from being
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) 	  compiled into the kernel, thereby the kernel doesn't save any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) 	  floating point context anymore during task switches, so this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341) 	  kernel will only be usable on machines without a floating-point
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) 	  math coprocessor. This makes the kernel a bit faster as no tests
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) 	  needs to be executed whether a floating-point instruction in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) 	  kernel should be executed or not.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) config ADVANCED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) 	bool "Advanced configuration options"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) 	depends on MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) 	  This gives you access to some advanced options for the CPU. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) 	  defaults should be fine for most users, but these options may make
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) 	  it possible for you to improve performance somewhat if you know what
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) 	  you are doing.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) 	  Note that the answer to this question won't directly affect the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) 	  kernel: saying N will just cause the configurator to skip all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) 	  the questions about these options.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) 	  Most users should say N to this question.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) config RMW_INSNS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) 	bool "Use read-modify-write instructions"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) 	depends on ADVANCED && !CPU_HAS_NO_CAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) 	  This allows to use certain instructions that work with indivisible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) 	  read-modify-write bus cycles. While this is faster than the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) 	  workaround of disabling interrupts, it can conflict with DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) 	  ( = direct memory access) on many Amiga systems, and it is also said
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) 	  to destabilize other machines. It is very likely that this will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) 	  cause serious problems on any Amiga or Atari Medusa if set. The only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) 	  configuration where it should work are 68030-based Ataris, where it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372) 	  apparently improves performance. But you've been warned! Unless you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) 	  really know what you are doing, say N. Try Y only if you're quite
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) 	  adventurous.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) config SINGLE_MEMORY_CHUNK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) 	bool "Use one physical chunk of memory only" if ADVANCED && !SUN3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) 	depends on MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) 	default y if SUN3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) 	select NEED_MULTIPLE_NODES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) 	  Ignore all but the first contiguous chunk of physical memory for VM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) 	  purposes.  This will save a few bytes kernel size and may speed up
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) 	  some operations.  Say N if not sure.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) config ARCH_DISCONTIGMEM_ENABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) 	def_bool MMU && !SINGLE_MEMORY_CHUNK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) config 060_WRITETHROUGH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) 	bool "Use write-through caching for 68060 supervisor accesses"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) 	depends on ADVANCED && M68060
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) 	  The 68060 generally uses copyback caching of recently accessed data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) 	  Copyback caching means that memory writes will be held in an on-chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) 	  cache and only written back to memory some time later.  Saying Y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) 	  here will force supervisor (kernel) accesses to use writethrough
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) 	  caching.  Writethrough caching means that data is written to memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) 	  straight away, so that cache and memory data always agree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) 	  Writethrough caching is less efficient, but is needed for some
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) 	  drivers on 68060 based systems where the 68060 bus snooping signal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) 	  is hardwired on.  The 53c710 SCSI driver is known to suffer from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) 	  this problem.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) config M68K_L2_CACHE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) 	depends on MAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) config NODES_SHIFT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) 	int
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) 	default "3"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) 	depends on !SINGLE_MEMORY_CHUNK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) config CPU_HAS_NO_BITFIELDS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417) config CPU_HAS_NO_CAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) config CPU_HAS_NO_MULDIV64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) config CPU_HAS_NO_UNALIGNED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) config CPU_HAS_ADDRESS_SPACES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429) config FPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) config COLDFIRE_SW_A7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) config HAVE_CACHE_SPLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) config HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) config HAVE_MBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) config HAVE_IPSBAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447) config CLOCK_FREQ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) 	int "Set the core clock frequency"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) 	default "25000000" if M5206
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450) 	default "54000000" if M5206e
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) 	default "166666666" if M520x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) 	default "140000000" if M5249
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453) 	default "150000000" if M527x || M523x
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) 	default "90000000" if M5307
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455) 	default "50000000" if M5407
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) 	default "266000000" if M54xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457) 	default "66666666"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) 	depends on COLDFIRE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) 	  Define the CPU clock frequency in use. This is the core clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461) 	  frequency, it may or may not be the same as the external clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) 	  crystal fitted to your board. Some processors have an internal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463) 	  PLL and can have their frequency programmed at run time, others
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) 	  use internal dividers. In general the kernel won't setup a PLL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465) 	  if it is fitted (there are some exceptions). This value will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466) 	  specific to the exact CPU that you are using.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468) config OLDMASK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) 	bool "Old mask 5307 (1H55J) silicon"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) 	depends on M5307
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) 	  Build support for the older revision ColdFire 5307 silicon.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473) 	  Specifically this is the 1H55J mask revision.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475) if HAVE_CACHE_SPLIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477) 	prompt "Split Cache Configuration"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478) 	default CACHE_I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480) config CACHE_I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481) 	bool "Instruction"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483) 	  Use all of the ColdFire CPU cache memory as an instruction cache.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 484) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 485) config CACHE_D
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 486) 	bool "Data"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 487) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 488) 	  Use all of the ColdFire CPU cache memory as a data cache.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 489) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 490) config CACHE_BOTH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 491) 	bool "Both"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 492) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 493) 	  Split the ColdFire CPU cache, and use half as an instruction cache
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 494) 	  and half as a data cache.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 495) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 496) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 497) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 498) if HAVE_CACHE_CB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 499) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 500) 	prompt "Data cache mode"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 501) 	default CACHE_WRITETHRU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 502) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 503) config CACHE_WRITETHRU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 504) 	bool "Write-through"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 505) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 506) 	  The ColdFire CPU cache is set into Write-through mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 507) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 508) config CACHE_COPYBACK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 509) 	bool "Copy-back"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 510) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 511) 	  The ColdFire CPU cache is set into Copy-back mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 512) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 513) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 514)