Kconfig 15 KB

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