Kconfig 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "uClinux/68k (w/o MMU) Kernel Configuration"
  6. config M68K
  7. bool
  8. default y
  9. select HAVE_IDE
  10. config MMU
  11. bool
  12. default n
  13. config FPU
  14. bool
  15. default n
  16. config ZONE_DMA
  17. bool
  18. default y
  19. config RWSEM_GENERIC_SPINLOCK
  20. bool
  21. default y
  22. config RWSEM_XCHGADD_ALGORITHM
  23. bool
  24. default n
  25. config ARCH_HAS_ILOG2_U32
  26. bool
  27. default n
  28. config ARCH_HAS_ILOG2_U64
  29. bool
  30. default n
  31. config GENERIC_FIND_NEXT_BIT
  32. bool
  33. default y
  34. config GENERIC_HWEIGHT
  35. bool
  36. default y
  37. config GENERIC_HARDIRQS
  38. bool
  39. default y
  40. config GENERIC_CALIBRATE_DELAY
  41. bool
  42. default y
  43. config GENERIC_TIME
  44. bool
  45. default y
  46. config GENERIC_CMOS_UPDATE
  47. bool
  48. default y
  49. config TIME_LOW_RES
  50. bool
  51. default y
  52. config GENERIC_CLOCKEVENTS
  53. bool
  54. default n
  55. config NO_IOPORT
  56. def_bool y
  57. source "init/Kconfig"
  58. menu "Processor type and features"
  59. choice
  60. prompt "CPU"
  61. default M68EZ328
  62. config M68328
  63. bool "MC68328"
  64. help
  65. Motorola 68328 processor support.
  66. config M68EZ328
  67. bool "MC68EZ328"
  68. help
  69. Motorola 68EX328 processor support.
  70. config M68VZ328
  71. bool "MC68VZ328"
  72. help
  73. Motorola 68VZ328 processor support.
  74. config M68360
  75. bool "MC68360"
  76. help
  77. Motorola 68360 processor support.
  78. config M5206
  79. bool "MCF5206"
  80. help
  81. Motorola ColdFire 5206 processor support.
  82. config M5206e
  83. bool "MCF5206e"
  84. help
  85. Motorola ColdFire 5206e processor support.
  86. config M520x
  87. bool "MCF520x"
  88. select GENERIC_CLOCKEVENTS
  89. help
  90. Freescale Coldfire 5207/5208 processor support.
  91. config M523x
  92. bool "MCF523x"
  93. select GENERIC_CLOCKEVENTS
  94. help
  95. Freescale Coldfire 5230/1/2/4/5 processor support
  96. config M5249
  97. bool "MCF5249"
  98. help
  99. Motorola ColdFire 5249 processor support.
  100. config M5271
  101. bool "MCF5271"
  102. help
  103. Freescale (Motorola) ColdFire 5270/5271 processor support.
  104. config M5272
  105. bool "MCF5272"
  106. help
  107. Motorola ColdFire 5272 processor support.
  108. config M5275
  109. bool "MCF5275"
  110. help
  111. Freescale (Motorola) ColdFire 5274/5275 processor support.
  112. config M528x
  113. bool "MCF528x"
  114. select GENERIC_CLOCKEVENTS
  115. help
  116. Motorola ColdFire 5280/5282 processor support.
  117. config M5307
  118. bool "MCF5307"
  119. help
  120. Motorola ColdFire 5307 processor support.
  121. config M532x
  122. bool "MCF532x"
  123. help
  124. Freescale (Motorola) ColdFire 532x processor support.
  125. config M5407
  126. bool "MCF5407"
  127. help
  128. Motorola ColdFire 5407 processor support.
  129. endchoice
  130. config M527x
  131. bool
  132. depends on (M5271 || M5275)
  133. select GENERIC_CLOCKEVENTS
  134. default y
  135. config COLDFIRE
  136. bool
  137. depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407)
  138. default y
  139. config CLOCK_SET
  140. bool "Enable setting the CPU clock frequency"
  141. default n
  142. help
  143. On some CPU's you do not need to know what the core CPU clock
  144. frequency is. On these you can disable clock setting. On some
  145. traditional 68K parts, and on all ColdFire parts you need to set
  146. the appropriate CPU clock frequency. On these devices many of the
  147. onboard peripherals derive their timing from the master CPU clock
  148. frequency.
  149. config CLOCK_FREQ
  150. int "Set the core clock frequency"
  151. default "66666666"
  152. depends on CLOCK_SET
  153. help
  154. Define the CPU clock frequency in use. This is the core clock
  155. frequency, it may or may not be the same as the external clock
  156. crystal fitted to your board. Some processors have an internal
  157. PLL and can have their frequency programmed at run time, others
  158. use internal dividers. In general the kernel won't setup a PLL
  159. if it is fitted (there are some exceptions). This value will be
  160. specific to the exact CPU that you are using.
  161. config CLOCK_DIV
  162. int "Set the core/bus clock divide ratio"
  163. default "1"
  164. depends on CLOCK_SET
  165. help
  166. On many SoC style CPUs the master CPU clock is also used to drive
  167. on-chip peripherals. The clock that is distributed to these
  168. peripherals is sometimes a fixed ratio of the master clock
  169. frequency. If so then set this to the divider ratio of the
  170. master clock to the peripheral clock. If not sure then select 1.
  171. config OLDMASK
  172. bool "Old mask 5307 (1H55J) silicon"
  173. depends on M5307
  174. help
  175. Build support for the older revision ColdFire 5307 silicon.
  176. Specifically this is the 1H55J mask revision.
  177. comment "Platform"
  178. config PILOT3
  179. bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support"
  180. depends on M68328
  181. help
  182. Support for the Palm Pilot 1000/5000, Personal/Pro and PalmIII.
  183. config XCOPILOT_BUGS
  184. bool "(X)Copilot support"
  185. depends on PILOT3
  186. help
  187. Support the bugs of Xcopilot.
  188. config UC5272
  189. bool 'Arcturus Networks uC5272 dimm board support'
  190. depends on M5272
  191. help
  192. Support for the Arcturus Networks uC5272 dimm board.
  193. config UC5282
  194. bool "Arcturus Networks uC5282 board support"
  195. depends on M528x
  196. help
  197. Support for the Arcturus Networks uC5282 dimm board.
  198. config UCSIMM
  199. bool "uCsimm module support"
  200. depends on M68EZ328
  201. help
  202. Support for the Arcturus Networks uCsimm module.
  203. config UCDIMM
  204. bool "uDsimm module support"
  205. depends on M68VZ328
  206. help
  207. Support for the Arcturus Networks uDsimm module.
  208. config DRAGEN2
  209. bool "DragenEngine II board support"
  210. depends on M68VZ328
  211. help
  212. Support for the DragenEngine II board.
  213. config DIRECT_IO_ACCESS
  214. bool "Allow user to access IO directly"
  215. depends on (UCSIMM || UCDIMM || DRAGEN2)
  216. help
  217. Disable the CPU internal registers protection in user mode,
  218. to allow a user application to read/write them.
  219. config INIT_LCD
  220. bool "Initialize LCD"
  221. depends on (UCSIMM || UCDIMM || DRAGEN2)
  222. help
  223. Initialize the LCD controller of the 68x328 processor.
  224. config MEMORY_RESERVE
  225. int "Memory reservation (MiB)"
  226. depends on (UCSIMM || UCDIMM)
  227. help
  228. Reserve certain memory regions on 68x328 based boards.
  229. config UCQUICC
  230. bool "Lineo uCquicc board support"
  231. depends on M68360
  232. help
  233. Support for the Lineo uCquicc board.
  234. config ARN5206
  235. bool "Arnewsh 5206 board support"
  236. depends on M5206
  237. help
  238. Support for the Arnewsh 5206 board.
  239. config M5206eC3
  240. bool "Motorola M5206eC3 board support"
  241. depends on M5206e
  242. help
  243. Support for the Motorola M5206eC3 board.
  244. config ELITE
  245. bool "Motorola M5206eLITE board support"
  246. depends on M5206e
  247. help
  248. Support for the Motorola M5206eLITE board.
  249. config M5208EVB
  250. bool "Freescale M5208EVB board support"
  251. depends on M520x
  252. help
  253. Support for the Freescale Coldfire M5208EVB.
  254. config M5235EVB
  255. bool "Freescale M5235EVB support"
  256. depends on M523x
  257. help
  258. Support for the Freescale M5235EVB board.
  259. config M5249C3
  260. bool "Motorola M5249C3 board support"
  261. depends on M5249
  262. help
  263. Support for the Motorola M5249C3 board.
  264. config M5271EVB
  265. bool "Freescale (Motorola) M5271EVB board support"
  266. depends on M5271
  267. help
  268. Support for the Freescale (Motorola) M5271EVB board.
  269. config M5275EVB
  270. bool "Freescale (Motorola) M5275EVB board support"
  271. depends on M5275
  272. help
  273. Support for the Freescale (Motorola) M5275EVB board.
  274. config M5272C3
  275. bool "Motorola M5272C3 board support"
  276. depends on M5272
  277. help
  278. Support for the Motorola M5272C3 board.
  279. config COBRA5272
  280. bool "senTec COBRA5272 board support"
  281. depends on M5272
  282. help
  283. Support for the senTec COBRA5272 board.
  284. config AVNET5282
  285. bool "Avnet 5282 board support"
  286. depends on M528x
  287. help
  288. Support for the Avnet 5282 board.
  289. config M5282EVB
  290. bool "Motorola M5282EVB board support"
  291. depends on M528x
  292. help
  293. Support for the Motorola M5282EVB board.
  294. config COBRA5282
  295. bool "senTec COBRA5282 board support"
  296. depends on M528x
  297. help
  298. Support for the senTec COBRA5282 board.
  299. config SOM5282EM
  300. bool "EMAC.Inc SOM5282EM board support"
  301. depends on M528x
  302. help
  303. Support for the EMAC.Inc SOM5282EM module.
  304. config WILDFIRE
  305. bool "Intec Automation Inc. WildFire board support"
  306. depends on M528x
  307. help
  308. Support for the Intec Automation Inc. WildFire.
  309. config WILDFIREMOD
  310. bool "Intec Automation Inc. WildFire module support"
  311. depends on M528x
  312. help
  313. Support for the Intec Automation Inc. WildFire module.
  314. config ARN5307
  315. bool "Arnewsh 5307 board support"
  316. depends on M5307
  317. help
  318. Support for the Arnewsh 5307 board.
  319. config M5307C3
  320. bool "Motorola M5307C3 board support"
  321. depends on M5307
  322. help
  323. Support for the Motorola M5307C3 board.
  324. config eLIA
  325. bool "Moreton Bay eLIA board support"
  326. depends on M5307
  327. help
  328. Support for the Moreton Bay eLIA board.
  329. config SECUREEDGEMP3
  330. bool "SnapGear SecureEdge/MP3 platform support"
  331. depends on M5307
  332. help
  333. Support for the SnapGear SecureEdge/MP3 platform.
  334. config M5329EVB
  335. bool "Freescale (Motorola) M5329EVB board support"
  336. depends on M532x
  337. help
  338. Support for the Freescale (Motorola) M5329EVB board.
  339. config COBRA5329
  340. bool "senTec COBRA5329 board support"
  341. depends on M532x
  342. help
  343. Support for the senTec COBRA5329 board.
  344. config M5407C3
  345. bool "Motorola M5407C3 board support"
  346. depends on M5407
  347. help
  348. Support for the Motorola M5407C3 board.
  349. config CLEOPATRA
  350. bool "Feith CLEOPATRA board support"
  351. depends on (M5307 || M5407)
  352. help
  353. Support for the Feith Cleopatra boards.
  354. config CANCam
  355. bool "Feith CANCam board support"
  356. depends on M5272
  357. help
  358. Support for the Feith CANCam board.
  359. config SCALES
  360. bool "Feith SCALES board support"
  361. depends on M5272
  362. help
  363. Support for the Feith SCALES board.
  364. config NETtel
  365. bool "SecureEdge/NETtel board support"
  366. depends on (M5206e || M5272 || M5307)
  367. help
  368. Support for the SnapGear NETtel/SecureEdge/SnapGear boards.
  369. config SNAPGEAR
  370. bool "SnapGear router board support"
  371. depends on NETtel
  372. help
  373. Special additional support for SnapGear router boards.
  374. config CPU16B
  375. bool "Sneha Technologies S.L. Sarasvati board support"
  376. depends on M5272
  377. help
  378. Support for the SNEHA CPU16B board.
  379. config MOD5272
  380. bool "Netburner MOD-5272 board support"
  381. depends on M5272
  382. help
  383. Support for the Netburner MOD-5272 board.
  384. config SAVANTrosie1
  385. bool "Savant Rosie1 board support"
  386. depends on M523x
  387. help
  388. Support for the Savant Rosie1 board.
  389. config ROMFS_FROM_ROM
  390. bool "ROMFS image not RAM resident"
  391. depends on (NETtel || SNAPGEAR)
  392. help
  393. The ROMfs filesystem will stay resident in the FLASH/ROM, not be
  394. moved into RAM.
  395. config PILOT
  396. bool
  397. default y
  398. depends on (PILOT3 || PILOT5)
  399. config ARNEWSH
  400. bool
  401. default y
  402. depends on (ARN5206 || ARN5307)
  403. config FREESCALE
  404. bool
  405. default y
  406. depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
  407. config HW_FEITH
  408. bool
  409. default y
  410. depends on (CLEOPATRA || CANCam || SCALES)
  411. config senTec
  412. bool
  413. default y
  414. depends on (COBRA5272 || COBRA5282)
  415. config EMAC_INC
  416. bool
  417. default y
  418. depends on (SOM5282EM)
  419. config SNEHA
  420. bool
  421. default y
  422. depends on CPU16B
  423. config SAVANT
  424. bool
  425. default y
  426. depends on SAVANTrosie1
  427. config AVNET
  428. bool
  429. default y
  430. depends on (AVNET5282)
  431. config 4KSTACKS
  432. bool "Use 4Kb for kernel stacks instead of 8Kb"
  433. default y
  434. help
  435. If you say Y here the kernel will use a 4Kb stacksize for the
  436. kernel stack attached to each process/thread. This facilitates
  437. running more threads on a system and also reduces the pressure
  438. on the VM subsystem for higher order allocations.
  439. config HZ
  440. int
  441. default 1000 if CLEOPATRA
  442. default 100
  443. comment "RAM configuration"
  444. config RAMBASE
  445. hex "Address of the base of RAM"
  446. default "0"
  447. help
  448. Define the address that RAM starts at. On many platforms this is
  449. 0, the base of the address space. And this is the default. Some
  450. platforms choose to setup their RAM at other addresses within the
  451. processor address space.
  452. config RAMSIZE
  453. hex "Size of RAM (in bytes)"
  454. default "0x400000"
  455. help
  456. Define the size of the system RAM. If you select 0 then the
  457. kernel will try to probe the RAM size at runtime. This is not
  458. supported on all CPU types.
  459. config VECTORBASE
  460. hex "Address of the base of system vectors"
  461. default "0"
  462. help
  463. Define the address of the system vectors. Commonly this is
  464. put at the start of RAM, but it doesn't have to be. On ColdFire
  465. platforms this address is programmed into the VBR register, thus
  466. actually setting the address to use.
  467. config KERNELBASE
  468. hex "Address of the base of kernel code"
  469. default "0x400"
  470. help
  471. Typically on m68k systems the kernel will not start at the base
  472. of RAM, but usually some small offset from it. Define the start
  473. address of the kernel here. The most common setup will have the
  474. processor vectors at the base of RAM and then the start of the
  475. kernel. On some platforms some RAM is reserved for boot loaders
  476. and the kernel starts after that. The 0x400 default was based on
  477. a system with the RAM based at address 0, and leaving enough room
  478. for the theoretical maximum number of 256 vectors.
  479. choice
  480. prompt "RAM bus width"
  481. default RAMAUTOBIT
  482. config RAMAUTOBIT
  483. bool "AUTO"
  484. help
  485. Select the physical RAM data bus size. Not needed on most platforms,
  486. so you can generally choose AUTO.
  487. config RAM8BIT
  488. bool "8bit"
  489. help
  490. Configure RAM bus to be 8 bits wide.
  491. config RAM16BIT
  492. bool "16bit"
  493. help
  494. Configure RAM bus to be 16 bits wide.
  495. config RAM32BIT
  496. bool "32bit"
  497. help
  498. Configure RAM bus to be 32 bits wide.
  499. endchoice
  500. comment "ROM configuration"
  501. config ROM
  502. bool "Specify ROM linker regions"
  503. default n
  504. help
  505. Define a ROM region for the linker script. This creates a kernel
  506. that can be stored in flash, with possibly the text, and data
  507. regions being copied out to RAM at startup.
  508. config ROMBASE
  509. hex "Address of the base of ROM device"
  510. default "0"
  511. depends on ROM
  512. help
  513. Define the address that the ROM region starts at. Some platforms
  514. use this to set their chip select region accordingly for the boot
  515. device.
  516. config ROMVEC
  517. hex "Address of the base of the ROM vectors"
  518. default "0"
  519. depends on ROM
  520. help
  521. This is almost always the same as the base of the ROM. Since on all
  522. 68000 type variants the vectors are at the base of the boot device
  523. on system startup.
  524. config ROMVECSIZE
  525. hex "Size of ROM vector region (in bytes)"
  526. default "0x400"
  527. depends on ROM
  528. help
  529. Define the size of the vector region in ROM. For most 68000
  530. variants this would be 0x400 bytes in size. Set to 0 if you do
  531. not want a vector region at the start of the ROM.
  532. config ROMSTART
  533. hex "Address of the base of system image in ROM"
  534. default "0x400"
  535. depends on ROM
  536. help
  537. Define the start address of the system image in ROM. Commonly this
  538. is strait after the ROM vectors.
  539. config ROMSIZE
  540. hex "Size of the ROM device"
  541. default "0x100000"
  542. depends on ROM
  543. help
  544. Size of the ROM device. On some platforms this is used to setup
  545. the chip select that controls the boot ROM device.
  546. choice
  547. prompt "Kernel executes from"
  548. ---help---
  549. Choose the memory type that the kernel will be running in.
  550. config RAMKERNEL
  551. bool "RAM"
  552. help
  553. The kernel will be resident in RAM when running.
  554. config ROMKERNEL
  555. bool "ROM"
  556. help
  557. The kernel will be resident in FLASH/ROM when running. This is
  558. often referred to as Execute-in-Place (XIP), since the kernel
  559. code executes from the position it is stored in the FLASH/ROM.
  560. endchoice
  561. if COLDFIRE
  562. source "kernel/Kconfig.preempt"
  563. endif
  564. source "kernel/time/Kconfig"
  565. source "mm/Kconfig"
  566. endmenu
  567. config ISA_DMA_API
  568. bool
  569. depends on !M5272
  570. default y
  571. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  572. config PCI
  573. bool "PCI support"
  574. help
  575. Support for PCI bus.
  576. config COMEMPCI
  577. bool "CO-MEM lite PCI controller support"
  578. depends on (M5307 || M5407)
  579. source "drivers/pci/Kconfig"
  580. source "drivers/pcmcia/Kconfig"
  581. source "drivers/pci/hotplug/Kconfig"
  582. endmenu
  583. menu "Executable file formats"
  584. source "fs/Kconfig.binfmt"
  585. endmenu
  586. menu "Power management options"
  587. config PM
  588. bool "Power Management support"
  589. help
  590. Support processor power management modes
  591. endmenu
  592. source "net/Kconfig"
  593. source "drivers/Kconfig"
  594. source "fs/Kconfig"
  595. source "arch/m68knommu/Kconfig.debug"
  596. source "security/Kconfig"
  597. source "crypto/Kconfig"
  598. source "lib/Kconfig"