Kconfig 16 KB

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