]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/of/Kconfig
sparc: break out some PROM device-tree building code out into drivers/of
[net-next-2.6.git] / drivers / of / Kconfig
CommitLineData
5ab5fc7e
GL
1config DTC
2 bool
3
bcbefae2
SR
4config OF
5 bool
6
5ab5fc7e
GL
7menu "Flattened Device Tree and Open Firmware support"
8 depends on OF
9
ef2a4524
AS
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
e169cfbe
GL
18config OF_FLATTREE
19 bool
5ab5fc7e 20 select DTC
e169cfbe 21
fcdeb7fe
GL
22config OF_DYNAMIC
23 def_bool y
5ab5fc7e 24 depends on PPC_OF
fcdeb7fe 25
6b884a8d
GL
26config OF_ADDRESS
27 def_bool y
5ab5fc7e 28 depends on !SPARC
6b884a8d 29
e3873444
GL
30config OF_IRQ
31 def_bool y
5ab5fc7e 32 depends on !SPARC
e3873444 33
f85ff305
SR
34config OF_DEVICE
35 def_bool y
863fbf49
AV
36
37config OF_GPIO
38 def_bool y
5ab5fc7e 39 depends on GPIOLIB && !SPARC
863fbf49
AV
40 help
41 OpenFirmware GPIO accessors
612212a3
JF
42
43config OF_I2C
585468e5 44 def_tristate I2C
5ab5fc7e 45 depends on I2C && !SPARC
612212a3
JF
46 help
47 OpenFirmware I2C accessors
284b0189
GL
48
49config OF_SPI
50 def_tristate SPI
5ab5fc7e 51 depends on SPI && !SPARC
284b0189
GL
52 help
53 OpenFirmware SPI accessors
8bc487d1
GL
54
55config OF_MDIO
56 def_tristate PHYLIB
5ab5fc7e 57 depends on PHYLIB
8bc487d1
GL
58 help
59 OpenFirmware MDIO bus (Ethernet PHY) accessors
5ab5fc7e
GL
60
61endmenu # OF