blob: d836b47d0be58a96a94783c63e3b71c0bc5463d6 [file] [log] [blame]
Stephen Rothwellbcbefae2010-06-29 12:45:51 +10001config OF
2 bool
3
Grant Likelye169cfb2009-11-23 14:53:09 -07004config OF_FLATTREE
5 bool
6 depends on OF
7
Grant Likelyfcdeb7f2010-01-29 05:04:33 -07008config OF_DYNAMIC
9 def_bool y
10 depends on OF && PPC_OF
11
Grant Likely6b884a82010-06-08 07:48:09 -060012config OF_ADDRESS
13 def_bool y
14 depends on OF && !SPARC
15
Grant Likelye3873442010-06-18 11:09:59 -060016config OF_IRQ
17 def_bool y
18 depends on OF && !SPARC
19
Stephen Rothwellf85ff302007-05-01 16:40:36 +100020config OF_DEVICE
21 def_bool y
Michal Simek6fa612b2009-05-11 15:49:12 +020022 depends on OF && (SPARC || PPC_OF || MICROBLAZE)
Anton Vorontsov863fbf42008-04-11 23:06:45 +100023
24config OF_GPIO
25 def_bool y
Michal Simek6fa612b2009-05-11 15:49:12 +020026 depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
Anton Vorontsov863fbf42008-04-11 23:06:45 +100027 help
28 OpenFirmware GPIO accessors
Jochen Friedrich612212a2008-04-12 05:22:35 +100029
30config OF_I2C
Jochen Friedrich585468e2008-04-19 00:23:03 +100031 def_tristate I2C
Grant Likely9fd04992010-06-08 07:48:18 -060032 depends on OF && !SPARC && I2C
Jochen Friedrich612212a2008-04-12 05:22:35 +100033 help
34 OpenFirmware I2C accessors
Grant Likely284b0182008-05-16 11:37:09 -060035
36config OF_SPI
37 def_tristate SPI
Michal Simek6fa612b2009-05-11 15:49:12 +020038 depends on OF && (PPC_OF || MICROBLAZE) && SPI
Grant Likely284b0182008-05-16 11:37:09 -060039 help
40 OpenFirmware SPI accessors
Grant Likely8bc487d2009-04-25 12:52:56 +000041
42config OF_MDIO
43 def_tristate PHYLIB
44 depends on OF && PHYLIB
45 help
46 OpenFirmware MDIO bus (Ethernet PHY) accessors