sparc: turn CONFIG_OF into a select
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / of / Kconfig
CommitLineData
e169cfbe
GL
1config OF_FLATTREE
2 bool
3 depends on OF
4
fcdeb7fe
GL
5config OF_DYNAMIC
6 def_bool y
7 depends on OF && PPC_OF
8
6b884a8d
GL
9config OF_ADDRESS
10 def_bool y
11 depends on OF && !SPARC
12
e3873444
GL
13config OF_IRQ
14 def_bool y
15 depends on OF && !SPARC
16
f85ff305
SR
17config OF_DEVICE
18 def_bool y
6fa612b5 19 depends on OF && (SPARC || PPC_OF || MICROBLAZE)
863fbf49
AV
20
21config OF_GPIO
22 def_bool y
6fa612b5 23 depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
863fbf49
AV
24 help
25 OpenFirmware GPIO accessors
612212a3
JF
26
27config OF_I2C
585468e5 28 def_tristate I2C
9fd04992 29 depends on OF && !SPARC && I2C
612212a3
JF
30 help
31 OpenFirmware I2C accessors
284b0189
GL
32
33config OF_SPI
34 def_tristate SPI
6fa612b5 35 depends on OF && (PPC_OF || MICROBLAZE) && SPI
284b0189
GL
36 help
37 OpenFirmware SPI accessors
8bc487d1
GL
38
39config OF_MDIO
40 def_tristate PHYLIB
41 depends on OF && PHYLIB
42 help
43 OpenFirmware MDIO bus (Ethernet PHY) accessors