]> code.ossystems Code Review - meta-freescale.git/commit
kernel-itbimage: set dtb load line only if DTB_LOAD is set
authorRichard Leitner <richard.leitner@skidata.com>
Mon, 4 Jun 2018 15:58:10 +0000 (17:58 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 26 Jun 2018 17:13:51 +0000 (14:13 -0300)
commit5417d106e17c35bc1a68672398ec5ecb648f0ff4
tree8f20409964b3884731c9da9b921ec22184856037
parent7c9ab2ff004e8112a074fdb33e6b579b499559f0
kernel-itbimage: set dtb load line only if DTB_LOAD is set

The load address line for the dtb should only be given if DTB_LOAD was
set accordingly before. Therefore add this check.

Without this patch the dtb was loaded to 0x0 if no DTB_LOAD was set and
the boot therefore failed. Now when no DTB_LOAD is set the bootloader
uses the device tree in place.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/kernel-itbimage.bbclass