xref: /rk3399_rockchip-uboot/dts/Kconfig (revision 783e6a72b8278d59854ced41a4696c9a14abbb0b)
1#
2# Device Tree Control
3#
4# TODO:
5#   This feature is not currently supported for SPL,
6#    but this restriction should be removed in the future.
7
8config SUPPORT_OF_CONTROL
9	bool
10
11menu "Device Tree Control"
12	depends on !SPL_BUILD
13	depends on SUPPORT_OF_CONTROL
14
15config OF_CONTROL
16	bool "Run-time configuration via Device Tree"
17	help
18	  This feature provides for run-time configuration of U-Boot
19	  via a flattened device tree.
20
21choice
22	prompt "Provider of DTB for DT control"
23	depends on OF_CONTROL
24
25config OF_SEPARATE
26	bool "Separate DTB for DT control"
27	depends on !SANDBOX
28	help
29	  If this option is enabled, the device tree will be built and
30	  placed as a separate u-boot.dtb file alongside the U-Boot image.
31
32config OF_EMBED
33	bool "Embedded DTB for DT control"
34	help
35	  If this option is enabled, the device tree will be picked up and
36	  built into the U-Boot image.
37
38config OF_HOSTFILE
39	bool "Host filed DTB for DT control"
40	depends on SANDBOX
41	help
42	  If this option is enabled, DTB will be read from a file on startup.
43	  This is only useful for Sandbox.  Use the -d flag to U-Boot to
44	  specify the file to read.
45
46endchoice
47
48endmenu
49