public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] pxa: fix memory coherency problem after relocation
@ 2013-06-21 16:12 Mike Dunn
  2013-06-21 16:12 ` [U-Boot] [PATCH 1/2] pxa: use -mcpu=xscale compiler option Mike Dunn
  2013-06-21 16:12 ` [U-Boot] [PATCH 2/2] pxa: fix memory coherency problem after relocation Mike Dunn
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Dunn @ 2013-06-21 16:12 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-22  5:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 16:12 [U-Boot] [PATCH 0/2] pxa: fix memory coherency problem after relocation Mike Dunn
2013-06-21 16:12 ` [U-Boot] [PATCH 1/2] pxa: use -mcpu=xscale compiler option Mike Dunn
2013-06-22  2:29   ` Marek Vasut
2013-06-21 16:12 ` [U-Boot] [PATCH 2/2] pxa: fix memory coherency problem after relocation Mike Dunn
2013-06-22  2:29   ` Marek Vasut
2013-06-22  5:23     ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox