Kconfig 16 KB

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