]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/of/Kconfig
Revert "mm: fail GFP_DMA allocations when ZONE_DMA is not configured"
[mirror_ubuntu-artful-kernel.git] / drivers / of / Kconfig
CommitLineData
5ab5fc7e
GL
1config DTC
2 bool
3
bcbefae2
SR
4config OF
5 bool
6
3cfc535c 7menu "Device Tree and Open Firmware support"
5ab5fc7e
GL
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
e6ce1324
SN
22config OF_EARLY_FLATTREE
23 bool
24 select OF_FLATTREE
25
3cfc535c
AS
26config OF_PROMTREE
27 bool
28
fcdeb7fe
GL
29config OF_DYNAMIC
30 def_bool y
5ab5fc7e 31 depends on PPC_OF
fcdeb7fe 32
6b884a8d
GL
33config OF_ADDRESS
34 def_bool y
5ab5fc7e 35 depends on !SPARC
6b884a8d 36
e3873444
GL
37config OF_IRQ
38 def_bool y
5ab5fc7e 39 depends on !SPARC
e3873444 40
f85ff305
SR
41config OF_DEVICE
42 def_bool y
863fbf49
AV
43
44config OF_GPIO
45 def_bool y
5ab5fc7e 46 depends on GPIOLIB && !SPARC
863fbf49
AV
47 help
48 OpenFirmware GPIO accessors
612212a3
JF
49
50config OF_I2C
585468e5 51 def_tristate I2C
5ab5fc7e 52 depends on I2C && !SPARC
612212a3
JF
53 help
54 OpenFirmware I2C accessors
284b0189 55
4b6ba8aa
DD
56config OF_NET
57 depends on NETDEVICES
58 def_bool y
59
284b0189
GL
60config OF_SPI
61 def_tristate SPI
5ab5fc7e 62 depends on SPI && !SPARC
284b0189
GL
63 help
64 OpenFirmware SPI accessors
8bc487d1
GL
65
66config OF_MDIO
67 def_tristate PHYLIB
5ab5fc7e 68 depends on PHYLIB
8bc487d1
GL
69 help
70 OpenFirmware MDIO bus (Ethernet PHY) accessors
5ab5fc7e 71
04bea68b
SAS
72config OF_PCI
73 def_tristate PCI
96e0a079 74 depends on PCI && (PPC || MICROBLAZE || X86)
04bea68b
SAS
75 help
76 OpenFirmware PCI bus accessors
77
5ab5fc7e 78endmenu # OF