blob: aa675ebd8eb3cd9636de7b69add0cfe73a134995 [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
Andres Salomon3cfc5352010-10-10 21:42:33 -06007menu "Device Tree and Open Firmware support"
Grant Likely5ab5fc72010-07-05 12:02:13 -06008 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
Andres Salomon3cfc5352010-10-10 21:42:33 -060022config OF_PROMTREE
23 bool
24
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070025config OF_DYNAMIC
26 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060027 depends on PPC_OF
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070028
Grant Likely6b884a82010-06-08 07:48:09 -060029config OF_ADDRESS
30 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060031 depends on !SPARC
Grant Likely6b884a82010-06-08 07:48:09 -060032
Grant Likelye3873442010-06-18 11:09:59 -060033config OF_IRQ
34 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060035 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060036
Stephen Rothwellf85ff302007-05-01 16:40:36 +100037config OF_DEVICE
38 def_bool y
Anton Vorontsov863fbf42008-04-11 23:06:45 +100039
40config OF_GPIO
41 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060042 depends on GPIOLIB && !SPARC
Anton Vorontsov863fbf42008-04-11 23:06:45 +100043 help
44 OpenFirmware GPIO accessors
Jochen Friedrich612212a2008-04-12 05:22:35 +100045
46config OF_I2C
Jochen Friedrich585468e2008-04-19 00:23:03 +100047 def_tristate I2C
Grant Likely5ab5fc72010-07-05 12:02:13 -060048 depends on I2C && !SPARC
Jochen Friedrich612212a2008-04-12 05:22:35 +100049 help
50 OpenFirmware I2C accessors
Grant Likely284b0182008-05-16 11:37:09 -060051
52config OF_SPI
53 def_tristate SPI
Grant Likely5ab5fc72010-07-05 12:02:13 -060054 depends on SPI && !SPARC
Grant Likely284b0182008-05-16 11:37:09 -060055 help
56 OpenFirmware SPI accessors
Grant Likely8bc487d2009-04-25 12:52:56 +000057
58config OF_MDIO
59 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060060 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000061 help
62 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060063
64endmenu # OF