]> git.ipfire.org Git - people/ms/u-boot.git/blame - dts/Kconfig
Correct malloc_limit value for pre-relocation malloc()
[people/ms/u-boot.git] / dts / Kconfig
CommitLineData
783e6a72
MY
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"
783e6a72
MY
12 depends on SUPPORT_OF_CONTROL
13
14config 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
20choice
21 prompt "Provider of DTB for DT control"
22 depends on OF_CONTROL
23
24config 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
31config 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
37config 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
45endchoice
46
f1ef2b62
MY
47config 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.
5699ea6d 51 It can be overridden from the command line:
f1ef2b62
MY
52 $ make DEVICE_TREE=<device-tree-name>
53
783e6a72 54endmenu