Skip to content
Commit bbac9222 authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Tom Rini
Browse files

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: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Reported-by: default avatarBreno Matheus Lima <brenomatheus@gmail.com>
Suggested-by: default avatarTom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Tested-by: default avatarBreno Lima <breno.lima@nxp.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 721881c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment