Kconfig.nommu 17 KB

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