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