Loading...
1config DTC
2 bool
3
4config OF
5 bool
6
7menu "Device Tree and Open Firmware support"
8 depends on OF
9
10config 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
20config OF_FLATTREE
21 bool
22 select DTC
23
24config OF_EARLY_FLATTREE
25 bool
26 select OF_FLATTREE
27
28config 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.
33config OF_DYNAMIC
34 bool
35
36config OF_ADDRESS
37 def_bool y
38 depends on !SPARC
39 select OF_ADDRESS_PCI if PCI
40
41config OF_ADDRESS_PCI
42 bool
43
44config OF_IRQ
45 def_bool y
46 depends on !SPARC
47
48config OF_NET
49 depends on NETDEVICES
50 def_bool y
51
52config OF_MDIO
53 def_tristate PHYLIB
54 depends on PHYLIB
55 help
56 OpenFirmware MDIO bus (Ethernet PHY) accessors
57
58config OF_PCI
59 def_tristate PCI
60 depends on PCI
61 help
62 OpenFirmware PCI bus accessors
63
64config OF_PCI_IRQ
65 def_tristate PCI
66 depends on OF_PCI && OF_IRQ
67 help
68 OpenFirmware PCI IRQ routing helpers
69
70config OF_MTD
71 depends on MTD
72 def_bool y
73
74config OF_RESERVED_MEM
75 depends on OF_EARLY_FLATTREE
76 bool
77 help
78 Helpers to allow for reservation of memory regions
79
80endmenu # OF
1config DTC
2 bool
3
4config OF
5 bool
6
7menu "Device Tree and Open Firmware support"
8 depends on OF
9
10config 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
18config OF_FLATTREE
19 bool
20 select DTC
21
22config OF_EARLY_FLATTREE
23 bool
24 select OF_FLATTREE
25
26config OF_PROMTREE
27 bool
28
29config OF_DYNAMIC
30 def_bool y
31 depends on PPC_OF
32
33config OF_ADDRESS
34 def_bool y
35 depends on !SPARC
36
37config OF_IRQ
38 def_bool y
39 depends on !SPARC
40
41config OF_DEVICE
42 def_bool y
43
44config OF_GPIO
45 def_bool y
46 depends on GPIOLIB && !SPARC
47 help
48 OpenFirmware GPIO accessors
49
50config OF_I2C
51 def_tristate I2C
52 depends on I2C && !SPARC
53 help
54 OpenFirmware I2C accessors
55
56config OF_NET
57 depends on NETDEVICES
58 def_bool y
59
60config OF_SPI
61 def_tristate SPI
62 depends on SPI && !SPARC
63 help
64 OpenFirmware SPI accessors
65
66config OF_MDIO
67 def_tristate PHYLIB
68 depends on PHYLIB
69 help
70 OpenFirmware MDIO bus (Ethernet PHY) accessors
71
72config OF_PCI
73 def_tristate PCI
74 depends on PCI
75 help
76 OpenFirmware PCI bus accessors
77
78config OF_PCI_IRQ
79 def_tristate PCI
80 depends on OF_PCI && OF_IRQ
81 help
82 OpenFirmware PCI IRQ routing helpers
83
84endmenu # OF