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