Kconfig 15 KB

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