of: Put all CONFIG_OF dependencies into a Kconfig menu block
[deliverable/linux.git] / drivers / of / Kconfig
CommitLineData
5ab5fc7e
GL
1config DTC
2 bool
3
bcbefae2
SR
4config OF
5 bool
6
5ab5fc7e
GL
7menu "Flattened Device Tree and Open Firmware support"
8 depends on OF
9
e169cfbe
GL
10config OF_FLATTREE
11 bool
5ab5fc7e 12 select DTC
e169cfbe 13
fcdeb7fe
GL
14config OF_DYNAMIC
15 def_bool y
5ab5fc7e 16 depends on PPC_OF
fcdeb7fe 17
6b884a8d
GL
18config OF_ADDRESS
19 def_bool y
5ab5fc7e 20 depends on !SPARC
6b884a8d 21
e3873444
GL
22config OF_IRQ
23 def_bool y
5ab5fc7e 24 depends on !SPARC
e3873444 25
f85ff305
SR
26config OF_DEVICE
27 def_bool y
863fbf49
AV
28
29config OF_GPIO
30 def_bool y
5ab5fc7e 31 depends on GPIOLIB && !SPARC
863fbf49
AV
32 help
33 OpenFirmware GPIO accessors
612212a3
JF
34
35config OF_I2C
585468e5 36 def_tristate I2C
5ab5fc7e 37 depends on I2C && !SPARC
612212a3
JF
38 help
39 OpenFirmware I2C accessors
284b0189
GL
40
41config OF_SPI
42 def_tristate SPI
5ab5fc7e 43 depends on SPI && !SPARC
284b0189
GL
44 help
45 OpenFirmware SPI accessors
8bc487d1
GL
46
47config OF_MDIO
48 def_tristate PHYLIB
5ab5fc7e 49 depends on PHYLIB
8bc487d1
GL
50 help
51 OpenFirmware MDIO bus (Ethernet PHY) accessors
5ab5fc7e
GL
52
53endmenu # OF
This page took 0.258685 seconds and 5 git commands to generate.