aboutsummaryrefslogtreecommitdiff
path: root/docs/firmware/fw.md
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-07-10 22:28:20 +0800
committerAnup Patel <anup@brainfault.org>2021-07-17 17:13:43 +0530
commit8a1475b5a1325547af7f428d4aed063d7a4007c7 (patch)
treee5283cd4ebb7ae4ac7de8fb03e696caf2efb8271 /docs/firmware/fw.md
parentf3a8f603a702b10f13f0fad7c0c815b21fb2384a (diff)
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>
Diffstat (limited to 'docs/firmware/fw.md')
0 files changed, 0 insertions, 0 deletions