]> err.no Git - linux-2.6/blobdiff - drivers/of/Kconfig
Merge branch 'upstream-davem' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[linux-2.6] / drivers / of / Kconfig
index c03072b12f423a981f208fdb0ad753f5c3f1ffe5..f821dbc952a42bb2e53a49c110decc859eff3d55 100644 (file)
@@ -1,3 +1,21 @@
 config OF_DEVICE
        def_bool y
        depends on OF && (SPARC || PPC_OF)
+
+config OF_GPIO
+       def_bool y
+       depends on OF && PPC_OF && GPIOLIB
+       help
+         OpenFirmware GPIO accessors
+
+config OF_I2C
+       def_tristate I2C
+       depends on PPC_OF && I2C
+       help
+         OpenFirmware I2C accessors
+
+config OF_SPI
+       def_tristate SPI
+       depends on OF && PPC_OF && SPI
+       help
+         OpenFirmware SPI accessors