Kconfig 7.0 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12
#############################################################################
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
#############################################################################

mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"

config MMU
       	bool
	default n
13 14 15
config ZONE_DMA
	bool
	default y
L
Linus Torvalds 已提交
16 17 18 19 20 21
config RWSEM_GENERIC_SPINLOCK
	bool
	default y
config RWSEM_XCHGADD_ALGORITHM
	bool
	default n
22 23 24 25 26 27
config GENERIC_FIND_NEXT_BIT
	bool
	default y
config GENERIC_HWEIGHT
	bool
	default y
L
Linus Torvalds 已提交
28 29 30 31
config GENERIC_CALIBRATE_DELAY
	bool
	default y

32 33 34 35 36 37 38 39
config GENERIC_HARDIRQS
	bool
	default y

config GENERIC_IRQ_PROBE
	bool
	default y

40 41 42 43
config GENERIC_TIME
	bool
	default y

44 45 46 47
config TIME_LOW_RES
	bool
	default y

48 49 50 51 52 53 54 55
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

56 57 58
config ARCH_SUPPORTS_AOUT
	def_bool y

L
Linus Torvalds 已提交
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
# Turn off some random 386 crap that can affect device config
config ISA
	bool
	default n
config ISAPNP
	bool
	default n
config EISA
	bool
	default n
config MCA
	bool
	default n


#############################################################################
#### v850-specific config

# Define the architecture
config V850
	bool
	default y
S
Sam Ravnborg 已提交
81
	select HAVE_IDE
L
Linus Torvalds 已提交
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118

menu "Processor type and features"

   choice
	  prompt "Platform"
	  default GDB
      config V850E_SIM
      	     bool "GDB"
      config RTE_CB_MA1
      	     bool "RTE-V850E/MA1-CB"
      config RTE_CB_NB85E
      	     bool "RTE-V850E/NB85E-CB"
      config RTE_CB_ME2
      	     bool "RTE-V850E/ME2-CB"
      config V850E_AS85EP1
      	     bool "AS85EP1"
      config V850E2_SIM85E2C
      	     bool "sim85e2c"
      config V850E2_SIM85E2S
      	     bool "sim85e2s"
      config V850E2_FPGA85E2C
      	     bool "NA85E2C-FPGA"
      config V850E2_ANNA
      	     bool "Anna"
   endchoice

   #### V850E processor-specific config

   # All CPUs currently supported use the v850e architecture
   config V850E
   	  bool
	  default y

   # The RTE-V850E/MA1-CB is the only type of V850E/MA1 platform we
   # currently support
   config V850E_MA1
   	  bool
119
	  depends on RTE_CB_MA1
L
Linus Torvalds 已提交
120 121 122 123
	  default y
   # Similarly for the RTE-V850E/NB85E-CB - V850E/TEG
   config V850E_TEG
   	  bool
124
	  depends on RTE_CB_NB85E
L
Linus Torvalds 已提交
125 126 127 128
	  default y
   # ... and the RTE-V850E/ME2-CB - V850E/ME2
   config V850E_ME2
   	  bool
129
	  depends on RTE_CB_ME2
L
Linus Torvalds 已提交
130 131 132 133 134 135 136
	  default y


   #### sim85e2-specific config

   config V850E2_SIM85E2
   	  bool
137
	  depends on V850E2_SIM85E2C || V850E2_SIM85E2S
L
Linus Torvalds 已提交
138 139 140 141 142 143 144 145
	  default y


   #### V850E2 processor-specific config

   # V850E2 processors
   config V850E2
   	  bool
146
	  depends on V850E2_SIM85E2 || V850E2_FPGA85E2C || V850E2_ANNA
L
Linus Torvalds 已提交
147 148 149 150 151 152 153 154
	  default y


   #### RTE-CB platform-specific config

   # Boards in the RTE-x-CB series
   config RTE_CB
   	  bool
155
	  depends on RTE_CB_MA1 || RTE_CB_NB85E || RTE_CB_ME2
L
Linus Torvalds 已提交
156 157 158 159 160 161 162
	  default y

   config RTE_CB_MULTI
   	  bool
	  # RTE_CB_NB85E can either have multi ROM support or not, but
	  # other platforms (currently only RTE_CB_MA1) require it.
	  prompt "Multi monitor ROM support" if RTE_CB_NB85E
163
	  depends on RTE_CB_MA1 || RTE_CB_NB85E
L
Linus Torvalds 已提交
164 165 166 167
	  default y

   config RTE_CB_MULTI_DBTRAP
   	  bool "Pass illegal insn trap / dbtrap to kernel"
168
	  depends on RTE_CB_MULTI
L
Linus Torvalds 已提交
169 170 171 172
	  default n

   config RTE_CB_MA1_KSRAM
   	  bool "Kernel in SRAM (limits size of kernel)"
173
	  depends on RTE_CB_MA1 && RTE_CB_MULTI
L
Linus Torvalds 已提交
174 175 176 177
	  default n

   config RTE_MB_A_PCI
   	  bool "Mother-A PCI support"
178
	  depends on RTE_CB
L
Linus Torvalds 已提交
179 180 181 182 183
	  default y

   # The GBUS is used to talk to the RTE-MOTHER-A board
   config RTE_GBUS_INT
   	  bool
184
	  depends on RTE_MB_A_PCI
L
Linus Torvalds 已提交
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
	  default y

   # The only PCI bus we support is on the RTE-MOTHER-A board
   config PCI
   	  bool
	  default RTE_MB_A_PCI

   #### Some feature-specific configs

   # Everything except for the GDB simulator uses the same interrupt controller
   config V850E_INTC
   	  bool
	  default !V850E_SIM

   # Everything except for the various simulators uses the "Timer D" unit
   config V850E_TIMER_D
   	  bool
	  default !V850E_SIM && !V850E2_SIM85E2

   # Cache control used on some v850e1 processors
   config V850E_CACHE
          bool
	  default V850E_TEG || V850E_ME2

   # Cache control used on v850e2 processors; I think this should
   # actually apply to more, but currently only the SIM85E2S uses it
   config V850E2_CACHE
   	  bool
	  default V850E2_SIM85E2S

   config NO_CACHE
   	  bool
	  default !V850E_CACHE && !V850E2_CACHE

219 220 221 222 223 224 225
   # HZ depends on the platform
   config HZ
	  int
	  default 24  if V850E_SIM || V850E2_SIM85E2
	  default 122 if V850E2_FPGA85E2C
	  default 100

L
Linus Torvalds 已提交
226 227 228 229
   #### Misc config

   config ROM_KERNEL
   	  bool "Kernel in ROM"
230
	  depends on V850E2_ANNA || V850E_AS85EP1 || RTE_CB_ME2
L
Linus Torvalds 已提交
231 232 233 234

   # Some platforms pre-zero memory, in which case the kernel doesn't need to
   config ZERO_BSS
   	  bool
235
	  depends on !V850E2_SIM85E2C
L
Linus Torvalds 已提交
236 237 238 239 240 241 242 243 244 245
	  default y

   # The crappy-ass zone allocator requires that the start of allocatable
   # memory be aligned to the largest possible allocation.
   config FORCE_MAX_ZONEORDER
   	  int
	  default 8 if V850E2_SIM85E2C || V850E2_FPGA85E2C

   config V850E_HIGHRES_TIMER
   	  bool "High resolution timer support"
246
	  depends on V850E_TIMER_D
L
Linus Torvalds 已提交
247 248
   config TIME_BOOTUP
   	  bool "Time bootup"
249
	  depends on V850E_HIGHRES_TIMER
L
Linus Torvalds 已提交
250 251 252 253

   config RESET_GUARD
   	  bool "Reset Guard"

254 255
source "mm/Kconfig"

L
Linus Torvalds 已提交
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
endmenu


#############################################################################

source init/Kconfig

#############################################################################

menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"

#    config PCI
# 	   bool "PCI support"
# 	   help
# 	     Support for PCI bus.

source "drivers/pci/Kconfig"

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

endmenu

menu "Executable file formats"

source "fs/Kconfig.binfmt"

endmenu

286 287
source "net/Kconfig"

L
Linus Torvalds 已提交
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
#############################################################################

source "drivers/base/Kconfig"

source drivers/mtd/Kconfig

source drivers/parport/Kconfig

#source drivers/pnp/Kconfig

source drivers/block/Kconfig

#############################################################################

menu "Disk device support"

source "drivers/ide/Kconfig"

source "drivers/scsi/Kconfig"

endmenu

#############################################################################


source "drivers/md/Kconfig"

source "drivers/message/fusion/Kconfig"

source "drivers/ieee1394/Kconfig"

source "drivers/message/i2o/Kconfig"

321
source "drivers/net/Kconfig"
L
Linus Torvalds 已提交
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353

source "drivers/isdn/Kconfig"

#source "drivers/telephony/Kconfig"

#
# input before char - char/joystick depends on it. As does USB.
#
source "drivers/input/Kconfig"

source "drivers/char/Kconfig"

#source drivers/misc/Config.in
source "drivers/media/Kconfig"

source "fs/Kconfig"

source "drivers/video/Kconfig"

source "sound/Kconfig"

source "drivers/usb/Kconfig"

source "arch/v850/Kconfig.debug"

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"

#############################################################################