summaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
blob: 7436fc2de107d4e27b8328f4ef3d3d1826dc439b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
config OFTREE
	select DTC
	bool

config OFTREE_MEM_GENERIC
	depends on OFTREE
	depends on PPC || ARM || EFI_BOOTUP || OPENRISC || SANDBOX || RISCV
	def_bool y

config DTC
	bool

config OFDEVICE
	select OFTREE
	select DTC
	bool "Enable probing of devices from the devicetree"

config OF_ADDRESS_PCI
	bool

config OF_NET
	depends on NET
	def_bool y

config OF_GPIO
	depends on GPIOLIB
	depends on OFDEVICE
	def_bool y

config OF_PCI
	bool
	depends on PCI
	select OF_ADDRESS_PCI
	help
	  OpenFirmware PCI bus accessors

config OF_BAREBOX_DRIVERS
	depends on OFDEVICE
	depends on ENV_HANDLING
	bool "Enable barebox specific devicetree configuration drivers"
	help
	  barebox supports being configured from devicetree. This enables
	  support for this feature. This currently allows to configure the
	  environment path from devicetree and to partition devices. See
	  Documentation/devicetree/bindings/barebox/ for more information.

config OF_BAREBOX_ENV_IN_FS
	depends on OF_BAREBOX_DRIVERS
	bool "Allow environment to come from file"
	help
	  Allow the devie tree configuration of the barebox environment path
	  to specify a file in filesystem, which will be mounted.

config OF_OVERLAY
	select OFTREE
	bool "Devicetree overlays"
	help
	  Overlays allow to patch the devicetree. Unlike Linux, Barebox does
	  not patch the live devicetree, but applies the overlays as fixup to
	  the devicetree. Furthermore, overlays cannot be removed after they
	  have been applied.

config OF_OVERLAY_LIVE
	depends on OF_OVERLAY
	bool "Support devicetree overlays on live devicetree"
	help
	  This option allows to use devicetree overlays with the live
	  devicetree. It is not required to apply overlays to any other
	  devicetree.

	  This builds the build-in devicetree with __symbols__, which
	  significantly increases the size of the dtb file.

	  Enable this option only if you actually need the live devicetree
	  while applying in the devicetree overlay. This is usually the case if
	  applying the overlay has other side effects than changing the
	  devicetree.