Kconfig.machine 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. # SPDX-License-Identifier: GPL-2.0
  2. comment "Machine Types"
  3. if M68KCLASSIC
  4. config AMIGA
  5. bool "Amiga support"
  6. depends on MMU
  7. select MMU_MOTOROLA if MMU
  8. select LEGACY_TIMER_TICK
  9. help
  10. This option enables support for the Amiga series of computers. If
  11. you plan to use this kernel on an Amiga, say Y here and browse the
  12. material available in <file:Documentation/m68k>; otherwise say N.
  13. config ATARI
  14. bool "Atari support"
  15. depends on MMU
  16. select MMU_MOTOROLA if MMU
  17. select HAVE_ARCH_NVRAM_OPS
  18. select LEGACY_TIMER_TICK
  19. help
  20. This option enables support for the 68000-based Atari series of
  21. computers (including the TT, Falcon and Medusa). If you plan to use
  22. this kernel on an Atari, say Y here and browse the material
  23. available in <file:Documentation/m68k>; otherwise say N.
  24. config ATARI_KBD_CORE
  25. bool
  26. config MAC
  27. bool "Macintosh support"
  28. depends on MMU
  29. select MMU_MOTOROLA if MMU
  30. select HAVE_ARCH_NVRAM_OPS
  31. select HAVE_PATA_PLATFORM
  32. select LEGACY_TIMER_TICK
  33. help
  34. This option enables support for the Apple Macintosh series of
  35. computers. If you plan to use this kernel on a Mac, say Y here and
  36. browse the documentation available at <http://www.mac.linux-m68k.org/>;
  37. otherwise say N.
  38. config APOLLO
  39. bool "Apollo support"
  40. depends on MMU
  41. select MMU_MOTOROLA if MMU
  42. select LEGACY_TIMER_TICK
  43. help
  44. Say Y here if you want to run Linux on an MC680x0-based Apollo
  45. Domain workstation such as the DN3500.
  46. config VME
  47. bool "VME (Motorola and BVM) support"
  48. depends on MMU
  49. select MMU_MOTOROLA if MMU
  50. help
  51. Say Y here if you want to build a kernel for a 680x0 based VME
  52. board. Boards currently supported include Motorola boards MVME147,
  53. MVME162, MVME166, MVME167, MVME172, and MVME177. BVME4000 and
  54. BVME6000 boards from BVM Ltd are also supported.
  55. config MVME147
  56. bool "MVME147 support"
  57. depends on MMU
  58. depends on VME
  59. select LEGACY_TIMER_TICK
  60. help
  61. Say Y to include support for early Motorola VME boards. This will
  62. build a kernel which can run on MVME147 single-board computers. If
  63. you select this option you will have to select the appropriate
  64. drivers for SCSI, Ethernet and serial ports later on.
  65. config MVME16x
  66. bool "MVME162, 166 and 167 support"
  67. depends on MMU
  68. depends on VME
  69. select LEGACY_TIMER_TICK
  70. help
  71. Say Y to include support for Motorola VME boards. This will build a
  72. kernel which can run on MVME162, MVME166, MVME167, MVME172, and
  73. MVME177 boards. If you select this option you will have to select
  74. the appropriate drivers for SCSI, Ethernet and serial ports later
  75. on.
  76. config BVME6000
  77. bool "BVME4000 and BVME6000 support"
  78. depends on MMU
  79. depends on VME
  80. select LEGACY_TIMER_TICK
  81. help
  82. Say Y to include support for VME boards from BVM Ltd. This will
  83. build a kernel which can run on BVME4000 and BVME6000 boards. If
  84. you select this option you will have to select the appropriate
  85. drivers for SCSI, Ethernet and serial ports later on.
  86. config HP300
  87. bool "HP9000/300 and HP9000/400 support"
  88. depends on MMU
  89. select MMU_MOTOROLA if MMU
  90. select LEGACY_TIMER_TICK
  91. help
  92. This option enables support for the HP9000/300 and HP9000/400 series
  93. of workstations. Support for these machines is still somewhat
  94. experimental. If you plan to try to use the kernel on such a machine
  95. say Y here.
  96. Everybody else says N.
  97. config SUN3X
  98. bool "Sun3x support"
  99. depends on MMU
  100. select LEGACY_TIMER_TICK
  101. select MMU_MOTOROLA if MMU
  102. select M68030
  103. help
  104. This option enables support for the Sun 3x series of workstations.
  105. Be warned that this support is very experimental.
  106. Note that Sun 3x kernels are not compatible with Sun 3 hardware.
  107. General Linux information on the Sun 3x series (now discontinued)
  108. is at <http://www.angelfire.com/ca2/tech68k/sun3.html>.
  109. If you don't want to compile a kernel for a Sun 3x, say N.
  110. config Q40
  111. bool "Q40/Q60 support"
  112. depends on MMU
  113. select MMU_MOTOROLA if MMU
  114. select LEGACY_TIMER_TICK
  115. help
  116. The Q40 is a Motorola 68040-based successor to the Sinclair QL
  117. manufactured in Germany. There is an official Q40 home page at
  118. <http://www.q40.de/>. This option enables support for the Q40 and
  119. Q60. Select your CPU below. For 68LC060 don't forget to enable FPU
  120. emulation.
  121. config SUN3
  122. bool "Sun3 support"
  123. depends on MMU
  124. depends on !MMU_MOTOROLA
  125. select MMU_SUN3 if MMU
  126. select LEGACY_TIMER_TICK
  127. select NO_DMA
  128. select M68020
  129. help
  130. This option enables support for the Sun 3 series of workstations
  131. (3/50, 3/60, 3/1xx, 3/2xx systems). Enabling this option requires
  132. that all other hardware types must be disabled, as Sun 3 kernels
  133. are incompatible with all other m68k targets (including Sun 3x!).
  134. If you don't want to compile a kernel exclusively for a Sun 3, say N.
  135. config VIRT
  136. bool "Virtual M68k Machine support"
  137. depends on MMU
  138. select GENERIC_CLOCKEVENTS
  139. select GOLDFISH
  140. select GOLDFISH_TIMER
  141. select GOLDFISH_TTY
  142. select M68040
  143. select MMU_MOTOROLA if MMU
  144. select RTC_CLASS
  145. select RTC_DRV_GOLDFISH
  146. select TTY
  147. select VIRTIO_MENU
  148. select VIRTIO_MMIO
  149. help
  150. This options enable a pure virtual machine based on m68k,
  151. VIRTIO MMIO devices and GOLDFISH interfaces (TTY, RTC, PIC).
  152. config PILOT
  153. bool
  154. config PILOT3
  155. bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support"
  156. depends on !MMU
  157. select M68328
  158. select PILOT
  159. help
  160. Support for the Palm Pilot 1000/5000, Personal/Pro and PalmIII.
  161. config XCOPILOT_BUGS
  162. bool "(X)Copilot support"
  163. depends on PILOT3
  164. help
  165. Support the bugs of Xcopilot.
  166. config UCSIMM
  167. bool "uCsimm module support"
  168. depends on !MMU
  169. select M68EZ328
  170. help
  171. Support for the Arcturus Networks uCsimm module.
  172. config UCDIMM
  173. bool "uDsimm module support"
  174. depends on !MMU
  175. select M68VZ328
  176. help
  177. Support for the Arcturus Networks uDsimm module.
  178. config DRAGEN2
  179. bool "DragenEngine II board support"
  180. depends on !MMU
  181. select M68VZ328
  182. help
  183. Support for the DragenEngine II board.
  184. config DIRECT_IO_ACCESS
  185. bool "Allow user to access IO directly"
  186. depends on (UCSIMM || UCDIMM || DRAGEN2)
  187. help
  188. Disable the CPU internal registers protection in user mode,
  189. to allow a user application to read/write them.
  190. config INIT_LCD
  191. bool "Initialize LCD"
  192. depends on (UCSIMM || UCDIMM || DRAGEN2)
  193. help
  194. Initialize the LCD controller of the 68x328 processor.
  195. config MEMORY_RESERVE
  196. int "Memory reservation (MiB)"
  197. depends on (UCSIMM || UCDIMM)
  198. default 0
  199. help
  200. Reserve certain memory regions on 68x328 based boards.
  201. endif # M68KCLASSIC
  202. config ARN5206
  203. bool "Arnewsh 5206 board support"
  204. depends on M5206
  205. help
  206. Support for the Arnewsh 5206 board.
  207. config M5206eC3
  208. bool "Motorola M5206eC3 board support"
  209. depends on M5206e
  210. help
  211. Support for the Motorola M5206eC3 board.
  212. config ELITE
  213. bool "Motorola M5206eLITE board support"
  214. depends on M5206e
  215. help
  216. Support for the Motorola M5206eLITE board.
  217. config M5235EVB
  218. bool "Freescale M5235EVB support"
  219. depends on M523x
  220. help
  221. Support for the Freescale M5235EVB board.
  222. config M5249C3
  223. bool "Motorola M5249C3 board support"
  224. depends on M5249
  225. help
  226. Support for the Motorola M5249C3 board.
  227. config M5272C3
  228. bool "Motorola M5272C3 board support"
  229. depends on M5272
  230. help
  231. Support for the Motorola M5272C3 board.
  232. config WILDFIRE
  233. bool "Intec Automation Inc. WildFire board support"
  234. depends on M528x
  235. help
  236. Support for the Intec Automation Inc. WildFire.
  237. config WILDFIREMOD
  238. bool "Intec Automation Inc. WildFire module support"
  239. depends on M528x
  240. help
  241. Support for the Intec Automation Inc. WildFire module.
  242. config ARN5307
  243. bool "Arnewsh 5307 board support"
  244. depends on M5307
  245. help
  246. Support for the Arnewsh 5307 board.
  247. config M5307C3
  248. bool "Motorola M5307C3 board support"
  249. depends on M5307
  250. help
  251. Support for the Motorola M5307C3 board.
  252. config SECUREEDGEMP3
  253. bool "SnapGear SecureEdge/MP3 platform support"
  254. depends on M5307
  255. help
  256. Support for the SnapGear SecureEdge/MP3 platform.
  257. config M5407C3
  258. bool "Motorola M5407C3 board support"
  259. depends on M5407
  260. help
  261. Support for the Motorola M5407C3 board.
  262. config AMCORE
  263. bool "Sysam AMCORE board support"
  264. depends on M5307
  265. help
  266. Support for the Sysam AMCORE open-hardware generic board.
  267. config STMARK2
  268. bool "Sysam stmark2 board support"
  269. depends on M5441x
  270. help
  271. Support for the Sysam stmark2 open-hardware generic board.
  272. config FIREBEE
  273. bool "FireBee board support"
  274. depends on M547x
  275. help
  276. Support for the FireBee ColdFire 5475 based board.
  277. config CLEOPATRA
  278. bool "Feith CLEOPATRA board support"
  279. depends on (M5307 || M5407)
  280. help
  281. Support for the Feith Cleopatra boards.
  282. config CANCam
  283. bool "Feith CANCam board support"
  284. depends on M5272
  285. help
  286. Support for the Feith CANCam board.
  287. config SCALES
  288. bool "Feith SCALES board support"
  289. depends on M5272
  290. help
  291. Support for the Feith SCALES board.
  292. config NETtel
  293. bool "SecureEdge/NETtel board support"
  294. depends on (M5206e || M5272 || M5307)
  295. help
  296. Support for the SnapGear NETtel/SecureEdge/SnapGear boards.
  297. config MOD5272
  298. bool "Netburner MOD-5272 board support"
  299. depends on M5272
  300. help
  301. Support for the Netburner MOD-5272 board.
  302. if !MMU || COLDFIRE
  303. comment "Machine Options"
  304. config UBOOT
  305. bool "Support for U-Boot command line parameters"
  306. depends on COLDFIRE
  307. help
  308. If you say Y here kernel will try to collect command
  309. line parameters from the initial u-boot stack.
  310. config 4KSTACKS
  311. bool "Use 4Kb for kernel stacks instead of 8Kb"
  312. default y
  313. help
  314. If you say Y here the kernel will use a 4Kb stacksize for the
  315. kernel stack attached to each process/thread. This facilitates
  316. running more threads on a system and also reduces the pressure
  317. on the VM subsystem for higher order allocations.
  318. comment "RAM configuration"
  319. config RAMBASE
  320. hex "Address of the base of RAM"
  321. default "0"
  322. help
  323. Define the address that RAM starts at. On many platforms this is
  324. 0, the base of the address space. And this is the default. Some
  325. platforms choose to setup their RAM at other addresses within the
  326. processor address space.
  327. config RAMSIZE
  328. hex "Size of RAM (in bytes), or 0 for automatic"
  329. default "0x400000"
  330. help
  331. Define the size of the system RAM. If you select 0 then the
  332. kernel will try to probe the RAM size at runtime. This is not
  333. supported on all CPU types.
  334. config VECTORBASE
  335. hex "Address of the base of system vectors"
  336. default "0"
  337. help
  338. Define the address of the system vectors. Commonly this is
  339. put at the start of RAM, but it doesn't have to be. On ColdFire
  340. platforms this address is programmed into the VBR register, thus
  341. actually setting the address to use.
  342. config MBAR
  343. hex "Address of the MBAR (internal peripherals)"
  344. default "0x10000000"
  345. depends on HAVE_MBAR
  346. help
  347. Define the address of the internal system peripherals. This value
  348. is set in the processors MBAR register. This is generally setup by
  349. the boot loader, and will not be written by the kernel. By far most
  350. ColdFire boards use the default 0x10000000 value, so if unsure then
  351. use this.
  352. config IPSBAR
  353. hex "Address of the IPSBAR (internal peripherals)"
  354. default "0x40000000"
  355. depends on HAVE_IPSBAR
  356. help
  357. Define the address of the internal system peripherals. This value
  358. is set in the processors IPSBAR register. This is generally setup by
  359. the boot loader, and will not be written by the kernel. By far most
  360. ColdFire boards use the default 0x40000000 value, so if unsure then
  361. use this.
  362. config KERNELBASE
  363. hex "Address of the base of kernel code"
  364. default "0x400"
  365. help
  366. Typically on m68k systems the kernel will not start at the base
  367. of RAM, but usually some small offset from it. Define the start
  368. address of the kernel here. The most common setup will have the
  369. processor vectors at the base of RAM and then the start of the
  370. kernel. On some platforms some RAM is reserved for boot loaders
  371. and the kernel starts after that. The 0x400 default was based on
  372. a system with the RAM based at address 0, and leaving enough room
  373. for the theoretical maximum number of 256 vectors.
  374. comment "ROM configuration"
  375. config ROM
  376. bool "Specify ROM linker regions"
  377. help
  378. Define a ROM region for the linker script. This creates a kernel
  379. that can be stored in flash, with possibly the text, and data
  380. regions being copied out to RAM at startup.
  381. config ROMBASE
  382. hex "Address of the base of ROM device"
  383. default "0"
  384. depends on ROM
  385. help
  386. Define the address that the ROM region starts at. Some platforms
  387. use this to set their chip select region accordingly for the boot
  388. device.
  389. config ROMVEC
  390. hex "Address of the base of the ROM vectors"
  391. default "0"
  392. depends on ROM
  393. help
  394. This is almost always the same as the base of the ROM. Since on all
  395. 68000 type variants the vectors are at the base of the boot device
  396. on system startup.
  397. config ROMSTART
  398. hex "Address of the base of system image in ROM"
  399. default "0x400"
  400. depends on ROM
  401. help
  402. Define the start address of the system image in ROM. Commonly this
  403. is strait after the ROM vectors.
  404. config ROMSIZE
  405. hex "Size of the ROM device"
  406. default "0x100000"
  407. depends on ROM
  408. help
  409. Size of the ROM device. On some platforms this is used to setup
  410. the chip select that controls the boot ROM device.
  411. choice
  412. prompt "Kernel executes from"
  413. help
  414. Choose the memory type that the kernel will be running in.
  415. config RAMKERNEL
  416. bool "RAM"
  417. help
  418. The kernel will be resident in RAM when running.
  419. config ROMKERNEL
  420. bool "ROM"
  421. depends on ROM
  422. help
  423. The kernel will be resident in FLASH/ROM when running. This is
  424. often referred to as Execute-in-Place (XIP), since the kernel
  425. code executes from the position it is stored in the FLASH/ROM.
  426. endchoice
  427. endif # !MMU || COLDFIRE