097f42aebe90ac7d72d005af41536837caedfef1
[cascardo/linux.git] / drivers / of / Kconfig
1 config OF_FLATTREE
2         bool
3         depends on OF
4
5 config OF_DYNAMIC
6         def_bool y
7         depends on OF && PPC_OF
8
9 config OF_ADDRESS
10         def_bool y
11         depends on OF && !SPARC
12
13 config OF_IRQ
14         def_bool y
15         depends on OF && !SPARC
16
17 config OF_DEVICE
18         def_bool y
19         depends on OF && (SPARC || PPC_OF || MICROBLAZE)
20
21 config OF_GPIO
22         def_bool y
23         depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
24         help
25           OpenFirmware GPIO accessors
26
27 config OF_I2C
28         def_tristate I2C
29         depends on (PPC_OF || MICROBLAZE) && I2C
30         help
31           OpenFirmware I2C accessors
32
33 config OF_SPI
34         def_tristate SPI
35         depends on OF && (PPC_OF || MICROBLAZE) && SPI
36         help
37           OpenFirmware SPI accessors
38
39 config OF_MDIO
40         def_tristate PHYLIB
41         depends on OF && PHYLIB
42         help
43           OpenFirmware MDIO bus (Ethernet PHY) accessors