Kconfig 16 KB

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