Kconfig 15 KB

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