From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 12 Feb 2013 13:04:42 -0600 Subject: [U-Boot] [PATCH v5 01/23] ppc: Add initial memory barrier macros In-Reply-To: (from sjg@chromium.org on Tue Feb 12 12:55:39 2013) References: <1360336339-10703-1-git-send-email-sjg@chromium.org> <1360336339-10703-2-git-send-email-sjg@chromium.org> <1360612347.8517.6@snotra> <1360695022.24612.5@snotra> Message-ID: <1360695882.24612.7@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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