Kconfig.nommu 16 KB

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