Kconfig 15 KB

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