Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  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 4KSTACKS
  386. bool "Use 4Kb for kernel stacks instead of 8Kb"
  387. default y
  388. help
  389. If you say Y here the kernel will use a 4Kb stacksize for the
  390. kernel stack attached to each process/thread. This facilitates
  391. running more threads on a system and also reduces the pressure
  392. on the VM subsystem for higher order allocations.
  393. comment "RAM configuration"
  394. config RAMBASE
  395. hex "Address of the base of RAM"
  396. default "0"
  397. help
  398. Define the address that RAM starts at. On many platforms this is
  399. 0, the base of the address space. And this is the default. Some
  400. platforms choose to setup their RAM at other addresses within the
  401. processor address space.
  402. config RAMSIZE
  403. hex "Size of RAM (in bytes)"
  404. default "0x400000"
  405. help
  406. Define the size of the system RAM. If you select 0 then the
  407. kernel will try to probe the RAM size at runtime. This is not
  408. supported on all CPU types.
  409. config VECTORBASE
  410. hex "Address of the base of system vectors"
  411. default "0"
  412. help
  413. Define the address of the system vectors. Commonly this is
  414. put at the start of RAM, but it doesn't have to be. On ColdFire
  415. platforms this address is programmed into the VBR register, thus
  416. actually setting the address to use.
  417. config KERNELBASE
  418. hex "Address of the base of kernel code"
  419. default "0x400"
  420. help
  421. Typically on m68k systems the kernel will not start at the base
  422. of RAM, but usually some small offset from it. Define the start
  423. address of the kernel here. The most common setup will have the
  424. processor vectors at the base of RAM and then the start of the
  425. kernel. On some platforms some RAM is reserved for boot loaders
  426. and the kernel starts after that. The 0x400 default was based on
  427. a system with the RAM based at address 0, and leaving enough room
  428. for the theoretical maximum number of 256 vectors.
  429. choice
  430. prompt "RAM bus width"
  431. default RAMAUTOBIT
  432. config RAMAUTOBIT
  433. bool "AUTO"
  434. help
  435. Select the physical RAM data bus size. Not needed on most platforms,
  436. so you can generally choose AUTO.
  437. config RAM8BIT
  438. bool "8bit"
  439. help
  440. Configure RAM bus to be 8 bits wide.
  441. config RAM16BIT
  442. bool "16bit"
  443. help
  444. Configure RAM bus to be 16 bits wide.
  445. config RAM32BIT
  446. bool "32bit"
  447. help
  448. Configure RAM bus to be 32 bits wide.
  449. endchoice
  450. comment "ROM configuration"
  451. config ROM
  452. bool "Specify ROM linker regions"
  453. default n
  454. help
  455. Define a ROM region for the linker script. This creates a kernel
  456. that can be stored in flash, with possibly the text, and data
  457. regions being copied out to RAM at startup.
  458. config ROMBASE
  459. hex "Address of the base of ROM device"
  460. default "0"
  461. depends on ROM
  462. help
  463. Define the address that the ROM region starts at. Some platforms
  464. use this to set their chip select region accordingly for the boot
  465. device.
  466. config ROMVEC
  467. hex "Address of the base of the ROM vectors"
  468. default "0"
  469. depends on ROM
  470. help
  471. This is almost always the same as the base of the ROM. Since on all
  472. 68000 type variants the vectors are at the base of the boot device
  473. on system startup.
  474. config ROMVECSIZE
  475. hex "Size of ROM vector region (in bytes)"
  476. default "0x400"
  477. depends on ROM
  478. help
  479. Define the size of the vector region in ROM. For most 68000
  480. variants this would be 0x400 bytes in size. Set to 0 if you do
  481. not want a vector region at the start of the ROM.
  482. config ROMSTART
  483. hex "Address of the base of system image in ROM"
  484. default "0x400"
  485. depends on ROM
  486. help
  487. Define the start address of the system image in ROM. Commonly this
  488. is strait after the ROM vectors.
  489. config ROMSIZE
  490. hex "Size of the ROM device"
  491. default "0x100000"
  492. depends on ROM
  493. help
  494. Size of the ROM device. On some platforms this is used to setup
  495. the chip select that controls the boot ROM device.
  496. choice
  497. prompt "Kernel executes from"
  498. ---help---
  499. Choose the memory type that the kernel will be running in.
  500. config RAMKERNEL
  501. bool "RAM"
  502. help
  503. The kernel will be resident in RAM when running.
  504. config ROMKERNEL
  505. bool "ROM"
  506. help
  507. The kernel will be resident in FLASH/ROM when running. This is
  508. often referred to as Execute-in-Place (XIP), since the kernel
  509. code executes from the position it is stored in the FLASH/ROM.
  510. endchoice
  511. source "mm/Kconfig"
  512. endmenu
  513. config ISA_DMA_API
  514. bool
  515. depends on !M5272
  516. default y
  517. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  518. config PCI
  519. bool "PCI support"
  520. help
  521. Support for PCI bus.
  522. config COMEMPCI
  523. bool "CO-MEM lite PCI controller support"
  524. depends on (M5307 || M5407)
  525. source "drivers/pci/Kconfig"
  526. source "drivers/pcmcia/Kconfig"
  527. source "drivers/pci/hotplug/Kconfig"
  528. endmenu
  529. menu "Executable file formats"
  530. source "fs/Kconfig.binfmt"
  531. endmenu
  532. menu "Power management options"
  533. config PM
  534. bool "Power Management support"
  535. help
  536. Support processor power management modes
  537. endmenu
  538. source "net/Kconfig"
  539. source "drivers/Kconfig"
  540. source "fs/Kconfig"
  541. source "arch/m68knommu/Kconfig.debug"
  542. source "security/Kconfig"
  543. source "crypto/Kconfig"
  544. source "lib/Kconfig"