HID: picolcd: sanity check report size in raw_event() callback
[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         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         select LIBFDT
24
25 config OF_EARLY_FLATTREE
26         bool
27         select OF_FLATTREE
28
29 config OF_PROMTREE
30         bool
31
32 # Hardly any platforms need this.  It is safe to select, but only do so if you
33 # need it.
34 config OF_DYNAMIC
35         bool
36
37 config OF_ADDRESS
38         def_bool y
39         depends on !SPARC
40         select OF_ADDRESS_PCI if PCI
41
42 config OF_ADDRESS_PCI
43         bool
44
45 config OF_IRQ
46         def_bool y
47         depends on !SPARC
48
49 config OF_NET
50         depends on NETDEVICES
51         def_bool y
52
53 config OF_MDIO
54         def_tristate PHYLIB
55         depends on PHYLIB
56         help
57           OpenFirmware MDIO bus (Ethernet PHY) accessors
58
59 config OF_PCI
60         def_tristate PCI
61         depends on PCI
62         help
63           OpenFirmware PCI bus accessors
64
65 config OF_PCI_IRQ
66         def_tristate PCI
67         depends on OF_PCI && OF_IRQ
68         help
69           OpenFirmware PCI IRQ routing helpers
70
71 config OF_MTD
72         depends on MTD
73         def_bool y
74
75 config OF_RESERVED_MEM
76         depends on OF_EARLY_FLATTREE
77         bool
78         help
79           Helpers to allow for reservation of memory regions
80
81 endmenu # OF