1config DTC
2	bool
3
4config OF
5	bool
6
7menu "Device Tree and Open Firmware support"
8	depends on OF
9
10config 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
18config OF_FLATTREE
19	bool
20	select DTC
21
22config OF_EARLY_FLATTREE
23	bool
24	select OF_FLATTREE
25
26config OF_PROMTREE
27	bool
28
29config OF_DYNAMIC
30	def_bool y
31	depends on PPC_OF
32
33config OF_ADDRESS
34	def_bool y
35	depends on !SPARC
36
37config OF_IRQ
38	def_bool y
39	depends on !SPARC
40
41config OF_DEVICE
42	def_bool y
43
44config OF_GPIO
45	def_bool y
46	depends on GPIOLIB && !SPARC
47	help
48	  OpenFirmware GPIO accessors
49
50config OF_I2C
51	def_tristate I2C
52	depends on I2C && !SPARC
53	help
54	  OpenFirmware I2C accessors
55
56config OF_NET
57	depends on NETDEVICES
58	def_bool y
59
60config OF_SPI
61	def_tristate SPI
62	depends on SPI && !SPARC
63	help
64	  OpenFirmware SPI accessors
65
66config OF_MDIO
67	def_tristate PHYLIB
68	depends on PHYLIB
69	help
70	  OpenFirmware MDIO bus (Ethernet PHY) accessors
71
72config OF_PCI
73	def_tristate PCI
74	depends on PCI && (PPC || MICROBLAZE || X86)
75	help
76	  OpenFirmware PCI bus accessors
77
78endmenu # OF
79