Re: [PATCH 1/2] riscv: Fix memmove and optimise memcpy when misalign

2021-05-17 Thread Leo Liang
On Thu, May 13, 2021 at 04:46:17PM +0800, Bin Meng wrote: > At present U-Boot SPL fails to boot on SiFive Unleashed board, due > to a load address misaligned exception happens when loading the FIT > image in spl_load_simple_fit(). The exception happens in memmove() > which is called by fdt_splice_(

Re: [PATCH 1/2] riscv: Fix memmove and optimise memcpy when misalign

2021-05-16 Thread Bin Meng
On Thu, May 13, 2021 at 4:46 PM Bin Meng wrote: > > At present U-Boot SPL fails to boot on SiFive Unleashed board, due > to a load address misaligned exception happens when loading the FIT > image in spl_load_simple_fit(). The exception happens in memmove() > which is called by fdt_splice_(). > >

[PATCH 1/2] riscv: Fix memmove and optimise memcpy when misalign

2021-05-13 Thread Bin Meng
At present U-Boot SPL fails to boot on SiFive Unleashed board, due to a load address misaligned exception happens when loading the FIT image in spl_load_simple_fit(). The exception happens in memmove() which is called by fdt_splice_(). Commit 8f0dc4cfd106 introduces an assembly version of memmove