[U-Boot] [PATCH] arm: fix memory coherency problem after relocation
Marek Vasut
marex at denx.de
Thu Jun 20 15:56:27 CEST 2013
Dear Mike Dunn,
> On the xscale, the icache must be invalidated and the write buffers drained
> after writing code over the data bus, even if the caches are disabled.
> After rebasing with the main git repository, u-boot began crashing in odd
> places on my pxa270 board (palmtreo680) after the code relocation routine
> ran. This patch fixes it. Cache coherency problems are often
> hit-and-miss (ha ha), and this latent problem didn't rear its ugly head
> until now. Tested on the pxa270.
>
> Signed-off-by: Mike Dunn <mikedunn at newsguy.com>
> ---
>
> I realize that __ARM_ARCH_5TE__ does not necessarily mean xscale.
We should introduce some CONFIG_PXA I guess.
Best regards,
Marek Vasut
More information about the U-Boot
mailing list