[U-Boot] [PATCH 0/2] pxa: fix memory coherency problem after relocation

Mike Dunn mikedunn at newsguy.com
Fri Jun 21 18:12:26 CEST 2013


These patches fix a memory coherency problem that sometimes occurs on xscale
after code relocation.  The first patch changes the options passed to the
compiler so that the __XSCALE__ macro is defined.  This is used in the second
patch to limit the change to xscale cores, where the necessary cache operations
are performed before jumping to the relocated code.

Whether other cores need a similiar operation after code relocation remains an
open question.

Thanks Albert.

Mike Dunn (2):
  pxa: use -mcpu=xscale compiler option
  pxa: fix memory coherency problem after relocation

 arch/arm/cpu/pxa/config.mk |    2 +-
 arch/arm/lib/relocate.S    |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)

-- 
1.7.8.6



More information about the U-Boot mailing list