]> 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>
Wed, 6 Jun 2018 13:56:47 +0000 (10:56 -0300)
commit6681e152f34196e8e8997f6558be695cb5353ff3
tree7a9d8b8c960cd3116c70060855cfeeb3e6c204ff
parentc9e91752a97d25be33911c37a1dee9773d51312d
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