diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2023-04-20 21:14:07 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-05-13 10:20:48 -0500 |
| commit | ccff8f7cce68bcf5c0a2251f63200caea6adad98 (patch) | |
| tree | 1d02d8bdcc7ff08a19f9c17c6b80471344bfc905 | |
| parent | 97c4f48bdf06c5a2e338c94a6d0e1de2171da79c (diff) | |
| download | meta-xilinx-ccff8f7cce68bcf5c0a2251f63200caea6adad98.tar.gz | |
device-tree: Add documentation for key variables
Add documentation for SYSTEM_DTFILE, CONFIG_DTFILE, EXTRA_DT_FILE.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb index fbc1797d..df63d4a1 100644 --- a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb +++ b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb | |||
| @@ -27,6 +27,11 @@ UBOOT_DTFILE_PREFIX ?= "system-top" | |||
| 27 | UBOOT_DTFILES_BUNDLE ?= "" | 27 | UBOOT_DTFILES_BUNDLE ?= "" |
| 28 | EXTRA_OVERLAYS ?= "" | 28 | EXTRA_OVERLAYS ?= "" |
| 29 | 29 | ||
| 30 | SYSTEM_DTFILE[doc] = "System Device Tree which accepts at 0...1 dts file" | ||
| 31 | CONFIG_DTFILE[doc] = "Domain Specific Device Tree which accepts 0...1 dts file" | ||
| 32 | EXTRA_DT_FILES[doc] = "Add extra files to DT_FILES_PATH, it accepts 1...n dtsi files and adds to SRC_URI" | ||
| 33 | EXTRA_OVERLAYS[doc] = "Add extra files to DT_FILES_PATH and adds a #include for each to the BASE_DTS, it access 1..n dtsi files and adds to SRC_URI" | ||
| 34 | |||
| 30 | SRC_URI:append = " ${@" ".join(["file://%s" % f for f in (d.getVar('EXTRA_DT_FILES') or "").split()])}" | 35 | SRC_URI:append = " ${@" ".join(["file://%s" % f for f in (d.getVar('EXTRA_DT_FILES') or "").split()])}" |
| 31 | SRC_URI:append = " ${@" ".join(["file://%s" % f for f in (d.getVar('EXTRA_OVERLAYS') or "").split()])}" | 36 | SRC_URI:append = " ${@" ".join(["file://%s" % f for f in (d.getVar('EXTRA_OVERLAYS') or "").split()])}" |
| 32 | 37 | ||
| @@ -87,6 +92,7 @@ devicetree_do_compile:append() { | |||
| 87 | } | 92 | } |
| 88 | 93 | ||
| 89 | FILES:${PN} += "/boot/system.dtb" | 94 | FILES:${PN} += "/boot/system.dtb" |
| 95 | |||
| 90 | devicetree_do_install:append() { | 96 | devicetree_do_install:append() { |
| 91 | if [ -n "${DTB_FILE_NAME}" ]; then | 97 | if [ -n "${DTB_FILE_NAME}" ]; then |
| 92 | # If it's already a dtb, we have to copy from the original location | 98 | # If it's already a dtb, we have to copy from the original location |
