Kconfig 14 KB

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