Kconfig 16 KB

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