Kconfig 1.3 KB

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