blob: 157250426b56dad4260ed0c394e98be84ac15e96 [file] [log] [blame]
Vitaly Bordugdf344032007-01-24 22:41:42 +03001config CPM1
2 bool
Scott Woodc374e002007-07-16 11:43:43 -05003 select CPM
Vitaly Bordugdf344032007-01-24 22:41:42 +03004
Paul Mackerras14cf11a2005-09-26 16:04:21 +10005choice
6 prompt "8xx Machine Type"
Kumar Galac8a55f32007-04-12 17:35:54 -05007 depends on PPC_8xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +10008 depends on 8xx
Vitaly Bordugdf344032007-01-24 22:41:42 +03009 default MPC885ADS
Paul Mackerras14cf11a2005-09-26 16:04:21 +100010
11config MPC8XXFADS
12 bool "FADS"
Paul Mackerras14cf11a2005-09-26 16:04:21 +100013
14config MPC86XADS
15 bool "MPC86XADS"
Vitaly Bordugdf344032007-01-24 22:41:42 +030016 select CPM1
Paul Mackerras14cf11a2005-09-26 16:04:21 +100017 help
18 MPC86x Application Development System by Freescale Semiconductor.
19 The MPC86xADS is meant to serve as a platform for s/w and h/w
20 development around the MPC86X processor families.
Paul Mackerras14cf11a2005-09-26 16:04:21 +100021
22config MPC885ADS
23 bool "MPC885ADS"
Vitaly Bordugdf344032007-01-24 22:41:42 +030024 select CPM1
Grant Likely0f22dd32012-02-15 20:38:40 -070025 select OF_DYNAMIC
Paul Mackerras14cf11a2005-09-26 16:04:21 +100026 help
27 Freescale Semiconductor MPC885 Application Development System (ADS).
28 Also known as DUET.
29 The MPC885ADS is meant to serve as a platform for s/w and h/w
30 development around the MPC885 processor family.
31
Scott Wood11c146c2007-09-14 14:58:25 -050032config PPC_EP88XC
33 bool "Embedded Planet EP88xC (a.k.a. CWH-PPC-885XN-VE)"
34 select CPM1
Scott Wood11c146c2007-09-14 14:58:25 -050035 help
36 This enables support for the Embedded Planet EP88xC board.
37
38 This board is also resold by Freescale as the QUICCStart
39 MPC885 Evaluation System and/or the CWH-PPC-885XN-VE.
40
Scott Woodb09c1642008-01-17 16:31:40 -060041config PPC_ADDER875
42 bool "Analogue & Micro Adder 875"
43 select CPM1
Scott Woodb09c1642008-01-17 16:31:40 -060044 help
45 This enables support for the Analogue & Micro Adder 875
46 board.
47
Heiko Schocherc4b6a772010-03-23 08:57:01 +010048config TQM8XX
49 bool "TQM8XX"
50 select CPM1
51 help
52 support for the mpc8xx based boards from TQM.
53
Paul Mackerras14cf11a2005-09-26 16:04:21 +100054endchoice
55
Vitaly Bordugdf344032007-01-24 22:41:42 +030056menu "Freescale Ethernet driver platform-specific options"
Kumar Galac8a55f32007-04-12 17:35:54 -050057 depends on (FS_ENET && MPC885ADS)
Vitaly Bordugdf344032007-01-24 22:41:42 +030058
Kumar Galac8a55f32007-04-12 17:35:54 -050059 config MPC8xx_SECOND_ETH
60 bool "Second Ethernet channel"
61 depends on MPC885ADS
62 default y
63 help
64 This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
65 The latter will use SCC1, for 885ADS you can select it below.
Vitaly Bordugdf344032007-01-24 22:41:42 +030066
Kumar Galac8a55f32007-04-12 17:35:54 -050067 choice
68 prompt "Second Ethernet channel"
69 depends on MPC8xx_SECOND_ETH
70 default MPC8xx_SECOND_ETH_FEC2
Vitaly Bordugdf344032007-01-24 22:41:42 +030071
Kumar Galac8a55f32007-04-12 17:35:54 -050072 config MPC8xx_SECOND_ETH_FEC2
73 bool "FEC2"
74 depends on MPC885ADS
75 help
76 Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
77 (often 2-nd UART) will not work if this is enabled.
Vitaly Bordugdf344032007-01-24 22:41:42 +030078
Kumar Galac8a55f32007-04-12 17:35:54 -050079 config MPC8xx_SECOND_ETH_SCC3
80 bool "SCC3"
81 depends on MPC885ADS
82 help
83 Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
84 (often 1-nd UART) will not work if this is enabled.
Vitaly Bordugdf344032007-01-24 22:41:42 +030085
Kumar Galac8a55f32007-04-12 17:35:54 -050086 endchoice
Vitaly Bordugdf344032007-01-24 22:41:42 +030087
88endmenu
89
Paul Mackerras14cf11a2005-09-26 16:04:21 +100090#
91# MPC8xx Communication options
92#
93
94menu "MPC8xx CPM Options"
95 depends on 8xx
96
Paul Mackerras14cf11a2005-09-26 16:04:21 +100097# This doesn't really belong here, but it is convenient to ask
98# 8xx specific questions.
99comment "Generic MPC8xx Options"
100
101config 8xx_COPYBACK
102 bool "Copy-Back Data Cache (else Writethrough)"
103 help
104 Saying Y here will cause the cache on an MPC8xx processor to be used
105 in Copy-Back mode. If you say N here, it is used in Writethrough
106 mode.
107
108 If in doubt, say Y here.
109
Jochen Friedrichdc2380e2008-07-03 02:18:23 +1000110config 8xx_GPIO
111 bool "GPIO API Support"
Jochen Friedrichdc2380e2008-07-03 02:18:23 +1000112 select ARCH_REQUIRE_GPIOLIB
113 help
114 Saying Y here will cause the ports on an MPC8xx processor to be used
115 with the GPIO API. If you say N here, the kernel needs less memory.
116
117 If in doubt, say Y here.
118
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000119config 8xx_CPU6
120 bool "CPU6 Silicon Errata (860 Pre Rev. C)"
121 help
122 MPC860 CPUs, prior to Rev C have some bugs in the silicon, which
123 require workarounds for Linux (and most other OSes to work). If you
124 get a BUG() very early in boot, this might fix the problem. For
125 more details read the document entitled "MPC860 Family Device Errata
Kumar Galac8a55f32007-04-12 17:35:54 -0500126 Reference" on Freescale's website. This option also incurs a
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000127 performance hit.
128
129 If in doubt, say N here.
130
Scott Wood74016852007-06-25 14:50:41 -0500131config 8xx_CPU15
132 bool "CPU15 Silicon Errata"
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
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000147choice
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