app: aboot: Fix loading of device tree from RAM

fastboot boot boot.img fails on some targets, as
Kernel/atags address on RAM overlaps with scratch
address for these targets. Due to which memmove
operation on the kernel address overwrites the
device tree contents in the RAM. To avoid this
issue change the order in which device tree from
boot image & appended device tree are searched.

CRs-Fixed: 469299
Change-Id: I704dc2c2f2b903fce26003535b8b5eec891a9559
1 file changed