blob: 6acbff389ab66c54e12f80a1831fedc41475de87 [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
Andres Salomonef2a4522010-06-28 22:00:48 -040010config PROC_DEVICETREE
11 bool "Support for device tree in /proc"
12 depends on PROC_FS && !SPARC
13 help
14 This option adds a device-tree directory under /proc which contains
15 an image of the device tree that the kernel copies from Open
16 Firmware or other boot firmware. If unsure, say Y here.
17
Grant Likelye169cfb2009-11-23 14:53:09 -070018config OF_FLATTREE
19 bool
Grant Likely5ab5fc72010-07-05 12:02:13 -060020 select DTC
Grant Likelye169cfb2009-11-23 14:53:09 -070021
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070022config OF_DYNAMIC
23 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060024 depends on PPC_OF
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070025
Grant Likely6b884a82010-06-08 07:48:09 -060026config OF_ADDRESS
27 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060028 depends on !SPARC
Grant Likely6b884a82010-06-08 07:48:09 -060029
Grant Likelye3873442010-06-18 11:09:59 -060030config OF_IRQ
31 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060032 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060033
Stephen Rothwellf85ff302007-05-01 16:40:36 +100034config OF_DEVICE
35 def_bool y
Anton Vorontsov863fbf42008-04-11 23:06:45 +100036
37config OF_GPIO
38 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060039 depends on GPIOLIB && !SPARC
Anton Vorontsov863fbf42008-04-11 23:06:45 +100040 help
41 OpenFirmware GPIO accessors
Jochen Friedrich612212a2008-04-12 05:22:35 +100042
43config OF_I2C
Jochen Friedrich585468e2008-04-19 00:23:03 +100044 def_tristate I2C
Grant Likely5ab5fc72010-07-05 12:02:13 -060045 depends on I2C && !SPARC
Jochen Friedrich612212a2008-04-12 05:22:35 +100046 help
47 OpenFirmware I2C accessors
Grant Likely284b0182008-05-16 11:37:09 -060048
49config OF_SPI
50 def_tristate SPI
Grant Likely5ab5fc72010-07-05 12:02:13 -060051 depends on SPI && !SPARC
Grant Likely284b0182008-05-16 11:37:09 -060052 help
53 OpenFirmware SPI accessors
Grant Likely8bc487d2009-04-25 12:52:56 +000054
55config OF_MDIO
56 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060057 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000058 help
59 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060060
61endmenu # OF