Pull thermal into release branch
[linux-drm-fsl-dcu.git] / arch / ppc / 8xx_io / Kconfig
1 #
2 # MPC8xx Communication options
3 #
4
5 menu "MPC8xx CPM Options"
6         depends on 8xx
7
8 config SCC_ENET
9         bool "CPM SCC Ethernet"
10         depends on NET_ETHERNET
11         help
12           Enable Ethernet support via the Motorola MPC8xx serial
13           communications controller.
14
15 choice
16         prompt "SCC used for Ethernet"
17         depends on SCC_ENET
18         default SCC1_ENET
19
20 config SCC1_ENET
21         bool "SCC1"
22         help
23           Use MPC8xx serial communications controller 1 to drive Ethernet
24           (default).
25
26 config SCC2_ENET
27         bool "SCC2"
28         help
29           Use MPC8xx serial communications controller 2 to drive Ethernet.
30
31 config SCC3_ENET
32         bool "SCC3"
33         help
34           Use MPC8xx serial communications controller 3 to drive Ethernet.
35
36 endchoice
37
38 config FEC_ENET
39         bool "860T FEC Ethernet"
40         depends on NET_ETHERNET
41         help
42           Enable Ethernet support via the Fast Ethernet Controller (FCC) on
43           the Motorola MPC8260.
44
45 config USE_MDIO
46         bool "Use MDIO for PHY configuration"
47         depends on FEC_ENET
48         help
49           On some boards the hardware configuration of the ethernet PHY can be
50           used without any software interaction over the MDIO interface, so
51           all MII code can be omitted. Say N here if unsure or if you don't
52           need link status reports.
53
54 config  FEC_AM79C874
55         bool "Support AMD79C874 PHY"
56         depends on USE_MDIO
57
58 config FEC_LXT970
59         bool "Support LXT970 PHY"
60         depends on USE_MDIO
61
62 config FEC_LXT971
63         bool "Support LXT971 PHY"
64         depends on USE_MDIO
65         
66 config FEC_QS6612
67         bool "Support QS6612 PHY"
68         depends on USE_MDIO
69         
70 config ENET_BIG_BUFFERS
71         bool "Use Big CPM Ethernet Buffers"
72         depends on SCC_ENET || FEC_ENET
73         help
74           Allocate large buffers for MPC8xx Ethernet. Increases throughput
75           and decreases the likelihood of dropped packets, but costs memory.
76
77 # This doesn't really belong here, but it is convenient to ask
78 # 8xx specific questions.
79 comment "Generic MPC8xx Options"
80
81 config 8xx_COPYBACK
82         bool "Copy-Back Data Cache (else Writethrough)"
83         help
84           Saying Y here will cause the cache on an MPC8xx processor to be used
85           in Copy-Back mode.  If you say N here, it is used in Writethrough
86           mode.
87
88           If in doubt, say Y here.
89
90 config 8xx_CPU6
91         bool "CPU6 Silicon Errata (860 Pre Rev. C)"
92         help
93           MPC860 CPUs, prior to Rev C have some bugs in the silicon, which
94           require workarounds for Linux (and most other OSes to work).  If you
95           get a BUG() very early in boot, this might fix the problem.  For
96           more details read the document entitled "MPC860 Family Device Errata
97           Reference" on Motorola's website.  This option also incurs a
98           performance hit.
99
100           If in doubt, say N here.
101
102 choice
103         prompt "Microcode patch selection"
104         default NO_UCODE_PATCH
105         help
106           Help not implemented yet, coming soon.
107
108 config NO_UCODE_PATCH
109         bool "None"
110
111 config USB_SOF_UCODE_PATCH
112         bool "USB SOF patch"
113         help
114           Help not implemented yet, coming soon.
115
116 config I2C_SPI_UCODE_PATCH
117         bool "I2C/SPI relocation patch"
118         help
119           Help not implemented yet, coming soon.
120
121 config I2C_SPI_SMC1_UCODE_PATCH
122         bool "I2C/SPI/SMC1 relocation patch"
123         help
124           Help not implemented yet, coming soon.
125
126 endchoice
127
128 config UCODE_PATCH
129         bool
130         default y
131         depends on !NO_UCODE_PATCH
132
133 endmenu
134