summaryrefslogtreecommitdiffstats
path: root/classes/kernel-itbimage.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/kernel-itbimage.bbclass')
-rw-r--r--classes/kernel-itbimage.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/kernel-itbimage.bbclass b/classes/kernel-itbimage.bbclass
index 448e2a6c..703fa616 100644
--- a/classes/kernel-itbimage.bbclass
+++ b/classes/kernel-itbimage.bbclass
@@ -136,6 +136,10 @@ fitimage_emit_section_dtb() {
136 136
137 dtb_csum="sha1" 137 dtb_csum="sha1"
138 138
139 if [ -n "${DTB_LOAD}" ]; then
140 dtb_loadline="load = <${DTB_LOAD}>;"
141 fi
142
139 cat << EOF >> ${1} 143 cat << EOF >> ${1}
140 fdt@${2} { 144 fdt@${2} {
141 description = "Flattened Device Tree blob"; 145 description = "Flattened Device Tree blob";
@@ -143,7 +147,7 @@ fitimage_emit_section_dtb() {
143 type = "flat_dt"; 147 type = "flat_dt";
144 arch = "${UBOOT_ARCH}"; 148 arch = "${UBOOT_ARCH}";
145 compression = "none"; 149 compression = "none";
146 load = <${DTB_LOAD}>; 150 ${dtb_loadline}
147 hash@1 { 151 hash@1 {
148 algo = "${dtb_csum}"; 152 algo = "${dtb_csum}";
149 }; 153 };