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