Debian Codegraph @

arch/powerpc/platforms/8xx/Kconfig

raw ◀ ▶
1 Debian patch touch this file
1 # SPDX-License-Identifier: GPL-2.0
2 config CPM1
3 bool
4 select CPM
5
6 choice
7 prompt "8xx Machine Type"
8 depends on PPC_8xx
9 default MPC885ADS
10
11 config MPC8XXFADS
12 bool "FADS"
13
14 config MPC86XADS
15 bool "MPC86XADS"
16 select CPM1
17 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.
21
22 config MPC885ADS
23 bool "MPC885ADS"
24 select CPM1
25 select OF_DYNAMIC
26 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
32 config PPC_EP88XC
33 bool "Embedded Planet EP88xC (a.k.a. CWH-PPC-885XN-VE)"
34 select CPM1
35 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
41 config PPC_ADDER875
42 bool "Analogue & Micro Adder 875"
43 select CPM1
44 help
45 This enables support for the Analogue & Micro Adder 875
46 board.
47
48 config TQM8XX
49 bool "TQM8XX"
50 select CPM1
51 help
52 support for the mpc8xx based boards from TQM.
53
54 endchoice
55
56 menu "Freescale Ethernet driver platform-specific options"
57 depends on (FS_ENET && MPC885ADS)
58
59 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.
66
67 choice
68 prompt "Second Ethernet channel"
69 depends on MPC8xx_SECOND_ETH
70 default MPC8xx_SECOND_ETH_FEC2
71
72 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.
78
79 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.
85
86 endchoice
87
88 endmenu
89
90 #
91 # MPC8xx Communication options
92 #
93
94 menu "MPC8xx CPM Options"
95 depends on PPC_8xx
96
97 # This doesn't really belong here, but it is convenient to ask
98 # 8xx specific questions.
99 comment "Generic MPC8xx Options"
100
101 config 8xx_GPIO
102 bool "GPIO API Support"
103 select GPIOLIB
104 help
105 Saying Y here will cause the ports on an MPC8xx processor to be used
106 with the GPIO API. If you say N here, the kernel needs less memory.
107
108 If in doubt, say Y here.
109
110 config 8xx_CPU15
111 bool "CPU15 Silicon Errata"
112 depends on !HUGETLB_PAGE
113 default y
114 help
115 This enables a workaround for erratum CPU15 on MPC8xx chips.
116 This bug can cause incorrect code execution under certain
117 circumstances. This workaround adds some overhead (a TLB miss
118 every time execution crosses a page boundary), and you may wish
119 to disable it if you have worked around the bug in the compiler
120 (by not placing conditional branches or branches to LR or CTR
121 in the last word of a page, with a target of the last cache
122 line in the next page), or if you have used some other
123 workaround.
124
125 If in doubt, say Y here.
126
127 choice
128 prompt "Microcode patch selection"
129 default NO_UCODE_PATCH
130 help
131 Help not implemented yet, coming soon.
132
133 config NO_UCODE_PATCH
134 bool "None"
135
136 config USB_SOF_UCODE_PATCH
137 bool "USB SOF patch"
138 depends on BROKEN
139 help
140 Help not implemented yet, coming soon.
141
142 config I2C_SPI_UCODE_PATCH
143 bool "I2C/SPI relocation patch"
144 depends on BROKEN
145 help
146 Help not implemented yet, coming soon.
147
148 config I2C_SPI_SMC1_UCODE_PATCH
149 bool "I2C/SPI/SMC1 relocation patch"
150 depends on BROKEN
151 help
152 Help not implemented yet, coming soon.
153
154 config SMC_UCODE_PATCH
155 bool "SMC relocation patch"
156 help
157 This microcode relocates SMC1 and SMC2 parameter RAMs at
158 offset 0x1ec0 and 0x1fc0 to allow extended parameter RAM
159 for SCC3 and SCC4.
160
161 endchoice
162
•163 config UCODE_PATCH
164 bool
165 default y
166 depends on !NO_UCODE_PATCH
167
168 menu "8xx advanced setup"
•169 depends on PPC_8xx
170
171 config PIN_TLB
172 bool "Pinned Kernel TLBs"
173 depends on ADVANCED_OPTIONS
174 help
•175 On the 8xx, we have 32 instruction TLBs and 32 data TLBs. In each
176 table 4 TLBs can be pinned.
177
178 It reduces the amount of usable TLBs to 28 (ie by 12%). That's the
179 reason why we make it selectable.
180
181 This option does nothing, it just activate the selection of what
182 to pin.
183
184 config PIN_TLB_DATA
185 bool "Pinned TLB for DATA"
186 depends on PIN_TLB
187 default y
188 help
189 This pins the first 32 Mbytes of memory with 8M pages.
190
191 config PIN_TLB_IMMR
192 bool "Pinned TLB for IMMR"
193 depends on PIN_TLB
194 default y
195 help
196 This pins the IMMR area with a 512kbytes page. In case
197 CONFIG_PIN_TLB_DATA is also selected, it will reduce
198 CONFIG_PIN_TLB_DATA to 24 Mbytes.
199
200 config PIN_TLB_TEXT
201 bool "Pinned TLB for TEXT"
202 depends on PIN_TLB
203 default y
204 help
205 This pins kernel text with 8M pages.
206
207 endmenu
208
209 endmenu