xref: /linux/arch/powerpc/platforms/8xx/Kconfig (revision 95ee46aa8698f2000647dfb362400fadbb5807cf)
1config FADS
2	bool
3
4config CPM1
5	bool
6	select CPM
7
8choice
9	prompt "8xx Machine Type"
10	depends on PPC_8xx
11	depends on 8xx
12	default MPC885ADS
13
14config MPC8XXFADS
15	bool "FADS"
16	select FADS
17
18config MPC86XADS
19	bool "MPC86XADS"
20	select CPM1
21	help
22	  MPC86x Application Development System by Freescale Semiconductor.
23	  The MPC86xADS is meant to serve as a platform for s/w and h/w
24	  development around the MPC86X processor families.
25
26config MPC885ADS
27	bool "MPC885ADS"
28	select CPM1
29	help
30	  Freescale Semiconductor MPC885 Application Development System (ADS).
31	  Also known as DUET.
32	  The MPC885ADS is meant to serve as a platform for s/w and h/w
33	  development around the MPC885 processor family.
34
35config PPC_EP88XC
36	bool "Embedded Planet EP88xC (a.k.a. CWH-PPC-885XN-VE)"
37	select CPM1
38	help
39	  This enables support for the Embedded Planet EP88xC board.
40
41	  This board is also resold by Freescale as the QUICCStart
42	  MPC885 Evaluation System and/or the CWH-PPC-885XN-VE.
43
44config PPC_ADDER875
45	bool "Analogue & Micro Adder 875"
46	select CPM1
47	select REDBOOT
48	help
49	  This enables support for the Analogue & Micro Adder 875
50	  board.
51
52config PPC_MGSUVD
53	bool "MGSUVD"
54	select CPM1
55	help
56	  This enables support for the Keymile MGSUVD board.
57
58config TQM8XX
59	bool "TQM8XX"
60	select CPM1
61	help
62	  support for the mpc8xx based boards from TQM.
63
64endchoice
65
66menu "Freescale Ethernet driver platform-specific options"
67	depends on (FS_ENET && MPC885ADS)
68
69	config MPC8xx_SECOND_ETH
70	bool "Second Ethernet channel"
71	depends on MPC885ADS
72	default y
73	help
74	  This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
75	  The latter will use SCC1, for 885ADS you can select it below.
76
77	choice
78		prompt "Second Ethernet channel"
79		depends on MPC8xx_SECOND_ETH
80		default MPC8xx_SECOND_ETH_FEC2
81
82		config MPC8xx_SECOND_ETH_FEC2
83		bool "FEC2"
84		depends on MPC885ADS
85		help
86		  Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
87		  (often 2-nd UART) will not work if this is enabled.
88
89		config MPC8xx_SECOND_ETH_SCC3
90		bool "SCC3"
91		depends on MPC885ADS
92		help
93		  Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
94		  (often 1-nd UART) will not work if this is enabled.
95
96	endchoice
97
98endmenu
99
100#
101# MPC8xx Communication options
102#
103
104menu "MPC8xx CPM Options"
105	depends on 8xx
106
107# This doesn't really belong here, but it is convenient to ask
108# 8xx specific questions.
109comment "Generic MPC8xx Options"
110
111config 8xx_COPYBACK
112	bool "Copy-Back Data Cache (else Writethrough)"
113	help
114	  Saying Y here will cause the cache on an MPC8xx processor to be used
115	  in Copy-Back mode.  If you say N here, it is used in Writethrough
116	  mode.
117
118	  If in doubt, say Y here.
119
120config 8xx_GPIO
121	bool "GPIO API Support"
122	select GENERIC_GPIO
123	select ARCH_REQUIRE_GPIOLIB
124	help
125	  Saying Y here will cause the ports on an MPC8xx processor to be used
126	  with the GPIO API.  If you say N here, the kernel needs less memory.
127
128	  If in doubt, say Y here.
129
130config 8xx_CPU6
131	bool "CPU6 Silicon Errata (860 Pre Rev. C)"
132	help
133	  MPC860 CPUs, prior to Rev C have some bugs in the silicon, which
134	  require workarounds for Linux (and most other OSes to work).  If you
135	  get a BUG() very early in boot, this might fix the problem.  For
136	  more details read the document entitled "MPC860 Family Device Errata
137	  Reference" on Freescale's website.  This option also incurs a
138	  performance hit.
139
140	  If in doubt, say N here.
141
142config 8xx_CPU15
143	bool "CPU15 Silicon Errata"
144	default y
145	help
146	  This enables a workaround for erratum CPU15 on MPC8xx chips.
147	  This bug can cause incorrect code execution under certain
148	  circumstances.  This workaround adds some overhead (a TLB miss
149	  every time execution crosses a page boundary), and you may wish
150	  to disable it if you have worked around the bug in the compiler
151	  (by not placing conditional branches or branches to LR or CTR
152	  in the last word of a page, with a target of the last cache
153	  line in the next page), or if you have used some other
154	  workaround.
155
156	  If in doubt, say Y here.
157
158choice
159	prompt "Microcode patch selection"
160	default NO_UCODE_PATCH
161	help
162	  Help not implemented yet, coming soon.
163
164config NO_UCODE_PATCH
165	bool "None"
166
167config USB_SOF_UCODE_PATCH
168	bool "USB SOF patch"
169	help
170	  Help not implemented yet, coming soon.
171
172config I2C_SPI_UCODE_PATCH
173	bool "I2C/SPI relocation patch"
174	help
175	  Help not implemented yet, coming soon.
176
177config I2C_SPI_SMC1_UCODE_PATCH
178	bool "I2C/SPI/SMC1 relocation patch"
179	help
180	  Help not implemented yet, coming soon.
181
182endchoice
183
184config UCODE_PATCH
185	bool
186	default y
187	depends on !NO_UCODE_PATCH
188
189endmenu
190