Kconfig 15 KB

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