Merge remote-tracking branch 'lsk/v3.10/topic/of' into linux-linaro-lsk
[firefly-linux-kernel-4.4.55.git] / drivers / of / Kconfig
1 config DTC
2         bool
3
4 config OF
5         bool
6
7 menu "Device Tree and Open Firmware support"
8         depends on OF
9
10 config OF_SELFTEST
11         bool "Device Tree Runtime self tests"
12         help
13           This option builds in test cases for the device tree infrastructure
14           that are executed one at boot time, and the results dumped to the
15           console.
16
17           If unsure, say N here, but this option is safe to enable.
18
19 config OF_FLATTREE
20         bool
21         select DTC
22         select LIBFDT
23
24 config OF_EARLY_FLATTREE
25         bool
26         select OF_FLATTREE
27
28 config OF_PROMTREE
29         bool
30
31 # Hardly any platforms need this.  It is safe to select, but only do so if you
32 # need it.
33 config OF_DYNAMIC
34         bool
35
36 config OF_ADDRESS
37         def_bool y
38         depends on !SPARC
39
40 config OF_IRQ
41         def_bool y
42         depends on !SPARC
43
44 config OF_DEVICE
45         def_bool y
46
47 config OF_I2C
48         def_tristate I2C
49         depends on I2C
50         help
51           OpenFirmware I2C accessors
52
53 config OF_NET
54         depends on NETDEVICES
55         def_bool y
56
57 config OF_MDIO
58         def_tristate PHYLIB
59         depends on PHYLIB
60         help
61           OpenFirmware MDIO bus (Ethernet PHY) accessors
62
63 config OF_PCI
64         def_tristate PCI
65         depends on PCI
66         help
67           OpenFirmware PCI bus accessors
68
69 config OF_PCI_IRQ
70         def_tristate PCI
71         depends on OF_PCI && OF_IRQ
72         help
73           OpenFirmware PCI IRQ routing helpers
74
75 config OF_MTD
76         depends on MTD
77         def_bool y
78
79 config OF_RESERVED_MEM
80         depends on OF_EARLY_FLATTREE
81         bool
82         help
83           Helpers to allow for reservation of memory regions
84
85 config OF_RESOLVE
86         bool
87
88 config OF_OVERLAY
89         bool
90         depends on OF
91         select OF_DYNAMIC
92         select OF_DEVICE
93         select OF_RESOLVE
94
95 endmenu # OF