Kconfig.nommu 17 KB

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