![]() If the device tree is at an address that is not __SIZEOF_POINTER__ aligned, the fdt relocation code tries to align both source and destination address to __SIZEOF_POINTER__ before the memory copy. But such alignment can lead to unexpected results if either source or destination address is not aligned. In fact libfdt requires that the device tree must be at an 8-byte aligned address. Hence remove the unhelpful alignment codes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> |
||
---|---|---|
.. | ||
payloads | ||
external_deps.mk | ||
fw_base.S | ||
fw_base.ldS | ||
fw_dynamic.S | ||
fw_dynamic.elf.ldS | ||
fw_jump.S | ||
fw_jump.elf.ldS | ||
fw_payload.S | ||
fw_payload.elf.ldS | ||
objects.mk |