Kconfig.nommu 16 KB

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