Merge tag 'v3.10.83' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux...
[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_NET
48         depends on NETDEVICES
49         def_bool y
50
51 config OF_MDIO
52         def_tristate PHYLIB
53         depends on PHYLIB
54         help
55           OpenFirmware MDIO bus (Ethernet PHY) accessors
56
57 config OF_PCI
58         def_tristate PCI
59         depends on PCI
60         help
61           OpenFirmware PCI bus accessors
62
63 config OF_PCI_IRQ
64         def_tristate PCI
65         depends on OF_PCI && OF_IRQ
66         help
67           OpenFirmware PCI IRQ routing helpers
68
69 config OF_MTD
70         depends on MTD
71         def_bool y
72
73 config OF_RESERVED_MEM
74         depends on OF_EARLY_FLATTREE
75         bool
76         help
77           Helpers to allow for reservation of memory regions
78
79 config OF_RESOLVE
80         bool
81
82 config OF_OVERLAY
83         bool
84         depends on OF
85         select OF_DYNAMIC
86         select OF_DEVICE
87         select OF_RESOLVE
88
89 endmenu # OF