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