]> code.ossystems Code Review - meta-freescale.git/commitdiff
kernel-itbimage: add DTB_LOAD to set dtb load address
authorChunrong Guo <chunrong.guo@nxp.com>
Thu, 19 Oct 2017 08:31:31 +0000 (16:31 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 28 Oct 2017 13:39:37 +0000 (11:39 -0200)
*Dtb address will be not the same for arm64 and arm32

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/kernel-itbimage.bbclass

index 5033d81bba9d3f2efcfc304dbb9853c3cb91c9cf..6658d91ff63fa6cddf50e5591ad093e8fe8d5819 100644 (file)
@@ -135,7 +135,7 @@ fitimage_emit_section_dtb() {
                         type = "flat_dt";
                         arch = "${UBOOT_ARCH}";
                         compression = "none";
-                        load = <0x90000000>;
+                        load = <${DTB_LOAD}>;
                         hash@1 {
                                 algo = "${dtb_csum}";
                         };