Kconfig 17 KB

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