[U-Boot] [PATCH v5 01/23] ppc: Add initial memory barrier macros

Scott Wood scottwood at freescale.com
Tue Feb 12 20:04:42 CET 2013


On 02/12/2013 12:55:39 PM, Simon Glass wrote:
> Can you please take a look at this code too, from the patch which
> brings in post-relocation board init (board_r.c):
> 
> #ifdef CONFIG_PPC
> 	/* TODO: Can we not use dmb() macros for this? */
> 	asm("sync ; isync");
> #endif

I'm not sure why we need that at all.  It's been there since "Initial  
revision", so git history isn't helpful in explaining it.

-Scott


More information about the U-Boot mailing list