Kconfig 15 KB

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