Kconfig 1.3 KB

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