Kconfig 17 KB

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