blob: ae2d4ad67bd039bab763f9ae9d07ce95420c24b8 [file] [log] [blame]
Grant Likely5ab5fc72010-07-05 12:02:13 -06001config DTC
2 bool
3
Stephen Rothwellbcbefae2010-06-29 12:45:51 +10004config OF
5 bool
6
Grant Likely5ab5fc72010-07-05 12:02:13 -06007menu "Flattened Device Tree and Open Firmware support"
8 depends on OF
9
Grant Likelye169cfb2009-11-23 14:53:09 -070010config OF_FLATTREE
11 bool
Grant Likely5ab5fc72010-07-05 12:02:13 -060012 select DTC
Grant Likelye169cfb2009-11-23 14:53:09 -070013
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070014config OF_DYNAMIC
15 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060016 depends on PPC_OF
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070017
Grant Likely6b884a82010-06-08 07:48:09 -060018config OF_ADDRESS
19 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060020 depends on !SPARC
Grant Likely6b884a82010-06-08 07:48:09 -060021
Grant Likelye3873442010-06-18 11:09:59 -060022config OF_IRQ
23 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060024 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060025
Stephen Rothwellf85ff302007-05-01 16:40:36 +100026config OF_DEVICE
27 def_bool y
Anton Vorontsov863fbf42008-04-11 23:06:45 +100028
29config OF_GPIO
30 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060031 depends on GPIOLIB && !SPARC
Anton Vorontsov863fbf42008-04-11 23:06:45 +100032 help
33 OpenFirmware GPIO accessors
Jochen Friedrich612212a2008-04-12 05:22:35 +100034
35config OF_I2C
Jochen Friedrich585468e2008-04-19 00:23:03 +100036 def_tristate I2C
Grant Likely5ab5fc72010-07-05 12:02:13 -060037 depends on I2C && !SPARC
Jochen Friedrich612212a2008-04-12 05:22:35 +100038 help
39 OpenFirmware I2C accessors
Grant Likely284b0182008-05-16 11:37:09 -060040
41config OF_SPI
42 def_tristate SPI
Grant Likely5ab5fc72010-07-05 12:02:13 -060043 depends on SPI && !SPARC
Grant Likely284b0182008-05-16 11:37:09 -060044 help
45 OpenFirmware SPI accessors
Grant Likely8bc487d2009-04-25 12:52:56 +000046
47config OF_MDIO
48 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060049 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000050 help
51 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060052
53endmenu # OF