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