Kconfig 17 KB

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