opensbi/firmware
Bin Meng 8a1475b5a1 firmware: Remove the unhelpful alignment codes before fdt relocation
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>
2021-07-17 17:13:43 +05:30
..
payloads firmware: Use lla to access all global symbols 2021-03-19 14:57:45 +05:30
external_deps.mk firmware: Remove FW_PAYLOAD_FDT_PATH compile-time option 2020-10-18 10:29:59 +05:30
fw_base.S firmware: Remove the unhelpful alignment codes before fdt relocation 2021-07-17 17:13:43 +05:30
fw_base.ldS firmware: Support position independent execution 2021-03-19 15:00:50 +05:30
fw_dynamic.S firmware: Define a macro for version of struct fw_dynamic_info 2021-07-11 14:13:32 +05:30
fw_dynamic.elf.ldS firmware: Relocate when load address is not equal to link address 2019-06-12 17:56:28 +05:30
fw_jump.S firmware: Use lla to access all global symbols 2021-03-19 14:57:45 +05:30
fw_jump.elf.ldS firmware: Relocate when load address is not equal to link address 2019-06-12 17:56:28 +05:30
fw_payload.S firmware: Use lla to access all global symbols 2021-03-19 14:57:45 +05:30
fw_payload.elf.ldS firmware: Relocate when load address is not equal to link address 2019-06-12 17:56:28 +05:30
objects.mk firmware: Only default FW_PIC to y if supported 2021-07-11 20:03:06 +05:30