Kconfig 15 KB

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