[POWERPC] 8xx: mpc885ads cleanup
[pandora-kernel.git] / arch / powerpc / platforms / 8xx / Kconfig
1 config FADS
2         bool
3
4 config CPM1
5         bool
6         select CPM
7
8 choice
9         prompt "8xx Machine Type"
10         depends on PPC_8xx
11         depends on 8xx
12         default MPC885ADS
13
14 config MPC8XXFADS
15         bool "FADS"
16         select FADS
17
18 config 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
26 config MPC885ADS
27         bool "MPC885ADS"
28         select CPM1
29         select PPC_CPM_NEW_BINDING
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
36 endchoice
37
38 menu "Freescale Ethernet driver platform-specific options"
39         depends on (FS_ENET && MPC885ADS)
40
41         config MPC8xx_SECOND_ETH
42         bool "Second Ethernet channel"
43         depends on MPC885ADS
44         default y
45         help
46           This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
47           The latter will use SCC1, for 885ADS you can select it below.
48
49         choice
50                 prompt "Second Ethernet channel"
51                 depends on MPC8xx_SECOND_ETH
52                 default MPC8xx_SECOND_ETH_FEC2
53
54                 config MPC8xx_SECOND_ETH_FEC2
55                 bool "FEC2"
56                 depends on MPC885ADS
57                 help
58                   Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
59                   (often 2-nd UART) will not work if this is enabled.
60
61                 config MPC8xx_SECOND_ETH_SCC3
62                 bool "SCC3"
63                 depends on MPC885ADS
64                 help
65                   Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
66                   (often 1-nd UART) will not work if this is enabled.
67
68         endchoice
69
70 endmenu
71
72 #
73 # MPC8xx Communication options
74 #
75
76 menu "MPC8xx CPM Options"
77         depends on 8xx
78
79 # This doesn't really belong here, but it is convenient to ask
80 # 8xx specific questions.
81 comment "Generic MPC8xx Options"
82
83 config 8xx_COPYBACK
84         bool "Copy-Back Data Cache (else Writethrough)"
85         help
86           Saying Y here will cause the cache on an MPC8xx processor to be used
87           in Copy-Back mode.  If you say N here, it is used in Writethrough
88           mode.
89
90           If in doubt, say Y here.
91
92 config 8xx_CPU6
93         bool "CPU6 Silicon Errata (860 Pre Rev. C)"
94         help
95           MPC860 CPUs, prior to Rev C have some bugs in the silicon, which
96           require workarounds for Linux (and most other OSes to work).  If you
97           get a BUG() very early in boot, this might fix the problem.  For
98           more details read the document entitled "MPC860 Family Device Errata
99           Reference" on Freescale's website.  This option also incurs a
100           performance hit.
101
102           If in doubt, say N here.
103
104 config 8xx_CPU15
105         bool "CPU15 Silicon Errata"
106         default y
107         help
108           This enables a workaround for erratum CPU15 on MPC8xx chips.
109           This bug can cause incorrect code execution under certain
110           circumstances.  This workaround adds some overhead (a TLB miss
111           every time execution crosses a page boundary), and you may wish
112           to disable it if you have worked around the bug in the compiler
113           (by not placing conditional branches or branches to LR or CTR
114           in the last word of a page, with a target of the last cache
115           line in the next page), or if you have used some other
116           workaround.
117
118           If in doubt, say Y here.
119
120 choice
121         prompt "Microcode patch selection"
122         default NO_UCODE_PATCH
123         help
124           Help not implemented yet, coming soon.
125
126 config NO_UCODE_PATCH
127         bool "None"
128
129 config USB_SOF_UCODE_PATCH
130         bool "USB SOF patch"
131         help
132           Help not implemented yet, coming soon.
133
134 config I2C_SPI_UCODE_PATCH
135         bool "I2C/SPI relocation patch"
136         help
137           Help not implemented yet, coming soon.
138
139 config I2C_SPI_SMC1_UCODE_PATCH
140         bool "I2C/SPI/SMC1 relocation patch"
141         help
142           Help not implemented yet, coming soon.
143
144 endchoice
145
146 config UCODE_PATCH
147         bool
148         default y
149         depends on !NO_UCODE_PATCH
150
151 endmenu