1# 2# For a description of the syntax of this configuration file, 3# see Documentation/kbuild/config-language.txt. 4# 5 6mainmenu "Linux/SH64 Kernel Configuration" 7 8config SUPERH 9 bool 10 default y 11 12config SUPERH64 13 bool 14 default y 15 16config MMU 17 bool 18 default y 19 20config QUICKLIST 21 def_bool y 22 23config RWSEM_GENERIC_SPINLOCK 24 bool 25 default y 26 27config GENERIC_FIND_NEXT_BIT 28 bool 29 default y 30 31config GENERIC_HWEIGHT 32 bool 33 default y 34 35config GENERIC_CALIBRATE_DELAY 36 bool 37 default y 38 39config RWSEM_XCHGADD_ALGORITHM 40 bool 41 42config ARCH_HAS_ILOG2_U32 43 bool 44 default n 45 46config ARCH_HAS_ILOG2_U64 47 bool 48 default n 49 50source init/Kconfig 51 52menu "System type" 53 54choice 55 prompt "SuperH system type" 56 default SH_SIMULATOR 57 58config SH_GENERIC 59 bool "Generic" 60 61config SH_SIMULATOR 62 bool "Simulator" 63 64config SH_CAYMAN 65 bool "Cayman" 66 67config SH_ROMRAM 68 bool "ROM/RAM" 69 70config SH_HARP 71 bool "ST50-Harp" 72 73endchoice 74 75choice 76 prompt "Processor family" 77 default CPU_SH5 78 79config CPU_SH5 80 bool "SH-5" 81 82endchoice 83 84choice 85 prompt "Processor type" 86 87config CPU_SUBTYPE_SH5_101 88 bool "SH5-101" 89 depends on CPU_SH5 90 91config CPU_SUBTYPE_SH5_103 92 bool "SH5-103" 93 depends on CPU_SH5 94 95endchoice 96 97choice 98 prompt "Endianness" 99 default LITTLE_ENDIAN 100 101config LITTLE_ENDIAN 102 bool "Little-Endian" 103 104config BIG_ENDIAN 105 bool "Big-Endian" 106 107endchoice 108 109config SH_FPU 110 bool "FPU support" 111 default y 112 113config SH64_FPU_DENORM_FLUSH 114 depends on SH_FPU 115 bool "Flush floating point denorms to zero" 116 117choice 118 prompt "Page table levels" 119 default SH64_PGTABLE_2_LEVEL 120 121config SH64_PGTABLE_2_LEVEL 122 bool "2" 123 124config SH64_PGTABLE_3_LEVEL 125 bool "3" 126 127endchoice 128 129choice 130 prompt "HugeTLB page size" 131 depends on HUGETLB_PAGE && MMU 132 default HUGETLB_PAGE_SIZE_64K 133 134config HUGETLB_PAGE_SIZE_64K 135 bool "64K" 136 137config HUGETLB_PAGE_SIZE_1MB 138 bool "1MB" 139 140config HUGETLB_PAGE_SIZE_512MB 141 bool "512MB" 142 143endchoice 144 145config SH64_USER_MISALIGNED_FIXUP 146 bool "Fixup misaligned loads/stores occurring in user mode" 147 148comment "Memory options" 149 150config CACHED_MEMORY_OFFSET 151 hex "Cached Area Offset" 152 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 153 default "20000000" 154 155config MEMORY_START 156 hex "Physical memory start address" 157 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 158 default "80000000" 159 160config MEMORY_SIZE_IN_MB 161 int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR 162 default "64" if SH_HARP || SH_CAYMAN 163 default "8" if SH_SIMULATOR 164 165comment "Cache options" 166 167config DCACHE_DISABLED 168 bool "DCache Disabling" 169 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 170 171choice 172 prompt "DCache mode" 173 depends on !DCACHE_DISABLED && !SH_SIMULATOR 174 default DCACHE_WRITE_BACK 175 176config DCACHE_WRITE_BACK 177 bool "Write-back" 178 179config DCACHE_WRITE_THROUGH 180 bool "Write-through" 181 182endchoice 183 184config ICACHE_DISABLED 185 bool "ICache Disabling" 186 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 187 188config PCIDEVICE_MEMORY_START 189 hex 190 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 191 default "C0000000" 192 193config DEVICE_MEMORY_START 194 hex 195 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 196 default "E0000000" 197 198config FLASH_MEMORY_START 199 hex "Flash memory/on-chip devices start address" 200 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 201 default "00000000" 202 203config PCI_BLOCK_START 204 hex "PCI block start address" 205 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR 206 default "40000000" 207 208comment "CPU Subtype specific options" 209 210config SH64_ID2815_WORKAROUND 211 bool "Include workaround for SH5-101 cut2 silicon defect ID2815" 212 213comment "Misc options" 214config HEARTBEAT 215 bool "Heartbeat LED" 216 217config HDSP253_LED 218 bool "Support for HDSP-253 LED" 219 depends on SH_CAYMAN 220 221config SH_DMA 222 tristate "DMA controller (DMAC) support" 223 224config PREEMPT 225 bool "Preemptible Kernel (EXPERIMENTAL)" 226 depends on EXPERIMENTAL 227 228source "mm/Kconfig" 229 230endmenu 231 232menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" 233 234config ISA 235 bool 236 237config SBUS 238 bool 239 240config PCI 241 bool "PCI support" 242 help 243 Find out whether you have a PCI motherboard. PCI is the name of a 244 bus system, i.e. the way the CPU talks to the other stuff inside 245 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or 246 VESA. If you have PCI, say Y, otherwise N. 247 248 The PCI-HOWTO, available from 249 <http://www.tldp.org/docs.html#howto>, contains valuable 250 information about which PCI hardware does work under Linux and which 251 doesn't. 252 253config SH_PCIDMA_NONCOHERENT 254 bool "Cache and PCI noncoherent" 255 depends on PCI 256 default y 257 help 258 Enable this option if your platform does not have a CPU cache which 259 remains coherent with PCI DMA. It is safest to say 'Y', although you 260 will see better performance if you can say 'N', because the PCI DMA 261 code will not have to flush the CPU's caches. If you have a PCI host 262 bridge integrated with your SH CPU, refer carefully to the chip specs 263 to see if you can say 'N' here. Otherwise, leave it as 'Y'. 264 265source "drivers/pci/Kconfig" 266 267source "drivers/pcmcia/Kconfig" 268 269source "drivers/pci/hotplug/Kconfig" 270 271endmenu 272 273menu "Executable file formats" 274 275source "fs/Kconfig.binfmt" 276 277endmenu 278 279source "net/Kconfig" 280 281source "drivers/Kconfig" 282 283source "fs/Kconfig" 284 285source "arch/sh64/oprofile/Kconfig" 286 287source "arch/sh64/Kconfig.debug" 288 289source "security/Kconfig" 290 291source "crypto/Kconfig" 292 293source "lib/Kconfig" 294 295# 296# Use the generic interrupt handling code in kernel/irq/: 297# 298config GENERIC_HARDIRQS 299 bool 300 default y 301 302config GENERIC_IRQ_PROBE 303 bool 304 default y 305