]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/of/Kconfig
Merge tag 'stable/for-linus-3.15-rc1-tag' of git://git.kernel.org/pub/scm/linux/kerne...
[karo-tx-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
13         help
14           This option builds in test cases for the device tree infrastructure
15           that are executed once at boot time, and the results dumped to the
16           console.
17
18           If unsure, say N here, but this option is safe to enable.
19
20 config OF_FLATTREE
21         bool
22         select DTC
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         select OF_ADDRESS_PCI if PCI
40
41 config OF_ADDRESS_PCI
42         bool
43
44 config OF_IRQ
45         def_bool y
46         depends on !SPARC
47
48 config OF_NET
49         depends on NETDEVICES
50         def_bool y
51
52 config OF_MDIO
53         def_tristate PHYLIB
54         depends on PHYLIB
55         help
56           OpenFirmware MDIO bus (Ethernet PHY) accessors
57
58 config OF_PCI
59         def_tristate PCI
60         depends on PCI
61         help
62           OpenFirmware PCI bus accessors
63
64 config OF_PCI_IRQ
65         def_tristate PCI
66         depends on OF_PCI && OF_IRQ
67         help
68           OpenFirmware PCI IRQ routing helpers
69
70 config OF_MTD
71         depends on MTD
72         def_bool y
73
74 config OF_RESERVED_MEM
75         depends on OF_EARLY_FLATTREE
76         bool
77         help
78           Helpers to allow for reservation of memory regions
79
80 endmenu # OF