[U-Boot] [PATCH] fpga: zynqpl: Fixed bug in alignment routine

Eli Billauer eli.billauer at gmail.com
Tue Mar 18 11:20:29 CET 2014


On 18/03/14 08:11, S Durga Prasad Paladugu wrote:
> This looks like not correct because if you look at the code above 
> this, it always ensuring that the new aligned buffer start is in front 
> of the actual buffer

Maybe it should, but it doesn't. In the boot log it says:

zynq_load: Align buffer at 10006f to 100080(swap 1)

In fact, it makes sense to align upwards. Copying the buffer downwards 
would destroy the data in the beginning of the buffer. Not that it 
probably matters either way.

Regards,

    Eli



More information about the U-Boot mailing list