[U-Boot] [PATCH] bootm: Align cache flush begin address
Bryan O'Donoghue
bryan.odonoghue at linaro.org
Sat Apr 14 08:10:36 UTC 2018
On 13/04/18 17:27, Tom Rini wrote:
>> - flush_cache(load, ALIGN(*load_end - load, ARCH_DMA_MINALIGN));
>> + flush_cache(ALIGN(load, ARCH_DMA_MINALIGN),
>> + ALIGN(*load_end - load, ARCH_DMA_MINALIGN));
> Am I wrong in thinking that we would want ALIGN_DOWN for load here?
No, we'll need to increase the length of the flush too.
I'll change this to an analog of
if (load != ALIGN_DOWN(load)) {
load_flush = ALIGN_DOWN(load);
load_flush_len += load - load_flush;
}
etc
More information about the U-Boot
mailing list