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