Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  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 WILDFIRE
  291. bool "Intec Automation Inc. WildFire board support"
  292. depends on M528x
  293. help
  294. Support for the Intec Automation Inc. WildFire.
  295. config WILDFIREMOD
  296. bool "Intec Automation Inc. WildFire module support"
  297. depends on M528x
  298. help
  299. Support for the Intec Automation Inc. WildFire module.
  300. config ARN5307
  301. bool "Arnewsh 5307 board support"
  302. depends on M5307
  303. help
  304. Support for the Arnewsh 5307 board.
  305. config M5307C3
  306. bool "Motorola M5307C3 board support"
  307. depends on M5307
  308. help
  309. Support for the Motorola M5307C3 board.
  310. config eLIA
  311. bool "Moreton Bay eLIA board support"
  312. depends on M5307
  313. help
  314. Support for the Moreton Bay eLIA board.
  315. config SECUREEDGEMP3
  316. bool "SnapGear SecureEdge/MP3 platform support"
  317. depends on M5307
  318. help
  319. Support for the SnapGear SecureEdge/MP3 platform.
  320. config M5329EVB
  321. bool "Freescale (Motorola) M5329EVB board support"
  322. depends on M532x
  323. help
  324. Support for the Freescale (Motorola) M5329EVB board.
  325. config COBRA5329
  326. bool "senTec COBRA5329 board support"
  327. depends on M532x
  328. help
  329. Support for the senTec COBRA5329 board.
  330. config M5407C3
  331. bool "Motorola M5407C3 board support"
  332. depends on M5407
  333. help
  334. Support for the Motorola M5407C3 board.
  335. config CLEOPATRA
  336. bool "Feith CLEOPATRA board support"
  337. depends on (M5307 || M5407)
  338. help
  339. Support for the Feith Cleopatra boards.
  340. config CANCam
  341. bool "Feith CANCam board support"
  342. depends on M5272
  343. help
  344. Support for the Feith CANCam board.
  345. config SCALES
  346. bool "Feith SCALES board support"
  347. depends on M5272
  348. help
  349. Support for the Feith SCALES board.
  350. config NETtel
  351. bool "SecureEdge/NETtel board support"
  352. depends on (M5206e || M5272 || M5307)
  353. help
  354. Support for the SnapGear NETtel/SecureEdge/SnapGear boards.
  355. config SNAPGEAR
  356. bool "SnapGear router board support"
  357. depends on NETtel
  358. help
  359. Special additional support for SnapGear router boards.
  360. config CPU16B
  361. bool "Sneha Technologies S.L. Sarasvati board support"
  362. depends on M5272
  363. help
  364. Support for the SNEHA CPU16B board.
  365. config MOD5272
  366. bool "Netburner MOD-5272 board support"
  367. depends on M5272
  368. help
  369. Support for the Netburner MOD-5272 board.
  370. config ROMFS_FROM_ROM
  371. bool "ROMFS image not RAM resident"
  372. depends on (NETtel || SNAPGEAR)
  373. help
  374. The ROMfs filesystem will stay resident in the FLASH/ROM, not be
  375. moved into RAM.
  376. config PILOT
  377. bool
  378. default y
  379. depends on (PILOT3 || PILOT5)
  380. config ARNEWSH
  381. bool
  382. default y
  383. depends on (ARN5206 || ARN5307)
  384. config FREESCALE
  385. bool
  386. default y
  387. depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
  388. config HW_FEITH
  389. bool
  390. default y
  391. depends on (CLEOPATRA || CANCam || SCALES)
  392. config senTec
  393. bool
  394. default y
  395. depends on (COBRA5272 || COBRA5282)
  396. config EMAC_INC
  397. bool
  398. default y
  399. depends on (SOM5282EM)
  400. config SNEHA
  401. bool
  402. default y
  403. depends on CPU16B
  404. config AVNET
  405. bool
  406. default y
  407. depends on (AVNET5282)
  408. config 4KSTACKS
  409. bool "Use 4Kb for kernel stacks instead of 8Kb"
  410. default y
  411. help
  412. If you say Y here the kernel will use a 4Kb stacksize for the
  413. kernel stack attached to each process/thread. This facilitates
  414. running more threads on a system and also reduces the pressure
  415. on the VM subsystem for higher order allocations.
  416. comment "RAM configuration"
  417. config RAMBASE
  418. hex "Address of the base of RAM"
  419. default "0"
  420. help
  421. Define the address that RAM starts at. On many platforms this is
  422. 0, the base of the address space. And this is the default. Some
  423. platforms choose to setup their RAM at other addresses within the
  424. processor address space.
  425. config RAMSIZE
  426. hex "Size of RAM (in bytes)"
  427. default "0x400000"
  428. help
  429. Define the size of the system RAM. If you select 0 then the
  430. kernel will try to probe the RAM size at runtime. This is not
  431. supported on all CPU types.
  432. config VECTORBASE
  433. hex "Address of the base of system vectors"
  434. default "0"
  435. help
  436. Define the address of the system vectors. Commonly this is
  437. put at the start of RAM, but it doesn't have to be. On ColdFire
  438. platforms this address is programmed into the VBR register, thus
  439. actually setting the address to use.
  440. config KERNELBASE
  441. hex "Address of the base of kernel code"
  442. default "0x400"
  443. help
  444. Typically on m68k systems the kernel will not start at the base
  445. of RAM, but usually some small offset from it. Define the start
  446. address of the kernel here. The most common setup will have the
  447. processor vectors at the base of RAM and then the start of the
  448. kernel. On some platforms some RAM is reserved for boot loaders
  449. and the kernel starts after that. The 0x400 default was based on
  450. a system with the RAM based at address 0, and leaving enough room
  451. for the theoretical maximum number of 256 vectors.
  452. choice
  453. prompt "RAM bus width"
  454. default RAMAUTOBIT
  455. config RAMAUTOBIT
  456. bool "AUTO"
  457. help
  458. Select the physical RAM data bus size. Not needed on most platforms,
  459. so you can generally choose AUTO.
  460. config RAM8BIT
  461. bool "8bit"
  462. help
  463. Configure RAM bus to be 8 bits wide.
  464. config RAM16BIT
  465. bool "16bit"
  466. help
  467. Configure RAM bus to be 16 bits wide.
  468. config RAM32BIT
  469. bool "32bit"
  470. help
  471. Configure RAM bus to be 32 bits wide.
  472. endchoice
  473. comment "ROM configuration"
  474. config ROM
  475. bool "Specify ROM linker regions"
  476. default n
  477. help
  478. Define a ROM region for the linker script. This creates a kernel
  479. that can be stored in flash, with possibly the text, and data
  480. regions being copied out to RAM at startup.
  481. config ROMBASE
  482. hex "Address of the base of ROM device"
  483. default "0"
  484. depends on ROM
  485. help
  486. Define the address that the ROM region starts at. Some platforms
  487. use this to set their chip select region accordingly for the boot
  488. device.
  489. config ROMVEC
  490. hex "Address of the base of the ROM vectors"
  491. default "0"
  492. depends on ROM
  493. help
  494. This is almost always the same as the base of the ROM. Since on all
  495. 68000 type variants the vectors are at the base of the boot device
  496. on system startup.
  497. config ROMVECSIZE
  498. hex "Size of ROM vector region (in bytes)"
  499. default "0x400"
  500. depends on ROM
  501. help
  502. Define the size of the vector region in ROM. For most 68000
  503. variants this would be 0x400 bytes in size. Set to 0 if you do
  504. not want a vector region at the start of the ROM.
  505. config ROMSTART
  506. hex "Address of the base of system image in ROM"
  507. default "0x400"
  508. depends on ROM
  509. help
  510. Define the start address of the system image in ROM. Commonly this
  511. is strait after the ROM vectors.
  512. config ROMSIZE
  513. hex "Size of the ROM device"
  514. default "0x100000"
  515. depends on ROM
  516. help
  517. Size of the ROM device. On some platforms this is used to setup
  518. the chip select that controls the boot ROM device.
  519. choice
  520. prompt "Kernel executes from"
  521. ---help---
  522. Choose the memory type that the kernel will be running in.
  523. config RAMKERNEL
  524. bool "RAM"
  525. help
  526. The kernel will be resident in RAM when running.
  527. config ROMKERNEL
  528. bool "ROM"
  529. help
  530. The kernel will be resident in FLASH/ROM when running. This is
  531. often referred to as Execute-in-Place (XIP), since the kernel
  532. code executes from the position it is stored in the FLASH/ROM.
  533. endchoice
  534. source "mm/Kconfig"
  535. endmenu
  536. config ISA_DMA_API
  537. bool
  538. depends on !M5272
  539. default y
  540. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  541. config PCI
  542. bool "PCI support"
  543. help
  544. Support for PCI bus.
  545. config COMEMPCI
  546. bool "CO-MEM lite PCI controller support"
  547. depends on (M5307 || M5407)
  548. source "drivers/pci/Kconfig"
  549. source "drivers/pcmcia/Kconfig"
  550. source "drivers/pci/hotplug/Kconfig"
  551. endmenu
  552. menu "Executable file formats"
  553. source "fs/Kconfig.binfmt"
  554. endmenu
  555. menu "Power management options"
  556. config PM
  557. bool "Power Management support"
  558. help
  559. Support processor power management modes
  560. endmenu
  561. source "net/Kconfig"
  562. source "drivers/Kconfig"
  563. source "fs/Kconfig"
  564. source "arch/m68knommu/Kconfig.debug"
  565. source "security/Kconfig"
  566. source "crypto/Kconfig"
  567. source "lib/Kconfig"