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