Kconfig 17 KB

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