]> git.ipfire.org Git - people/ms/u-boot.git/blob - dts/Kconfig
Merge branch 'rmobile' of git://git.denx.de/u-boot-sh
[people/ms/u-boot.git] / dts / Kconfig
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
8 config SUPPORT_OF_CONTROL
9 bool
10
11 menu "Device Tree Control"
12 depends on SUPPORT_OF_CONTROL
13
14 config OF_CONTROL
15 bool "Run-time configuration via Device Tree"
16 help
17 This feature provides for run-time configuration of U-Boot
18 via a flattened device tree.
19
20 choice
21 prompt "Provider of DTB for DT control"
22 depends on OF_CONTROL
23
24 config OF_SEPARATE
25 bool "Separate DTB for DT control"
26 depends on !SANDBOX
27 help
28 If this option is enabled, the device tree will be built and
29 placed as a separate u-boot.dtb file alongside the U-Boot image.
30
31 config OF_EMBED
32 bool "Embedded DTB for DT control"
33 help
34 If this option is enabled, the device tree will be picked up and
35 built into the U-Boot image.
36
37 config OF_HOSTFILE
38 bool "Host filed DTB for DT control"
39 depends on SANDBOX
40 help
41 If this option is enabled, DTB will be read from a file on startup.
42 This is only useful for Sandbox. Use the -d flag to U-Boot to
43 specify the file to read.
44
45 endchoice
46
47 config DEFAULT_DEVICE_TREE
48 string "Default Device Tree for DT control"
49 help
50 This option specifies the default Device Tree used for DT control.
51 It can be overridden from the command line:
52 $ make DEVICE_TREE=<device-tree-name>
53
54 endmenu