bootm: Align cache flush begin address
commit b4d956f6 ("bootm: Align cache flush end address correctly") aligns the end address of the cache flush operation to a cache-line size to ensure lower-layers in the code accept the range provided and flush. A similar action should be taken for the begin address of a cache flush operation. The load address may not be aligned to a cache-line boundary, so ensure the passed address is aligned. Signed-off-by: NBryan O'Donoghue <bryan.odonoghue@linaro.org> Reported-by: NBreno Matheus Lima <brenomatheus@gmail.com> Suggested-by: NTom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Tested-by: NBreno Lima <breno.lima@nxp.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录