From: Wolfgang Denk Date: Thu, 27 Sep 2007 10:41:40 +0200 Subject: [U-Boot-Users] [PATCH] 85xx io out functions need sync after write. In-Reply-To: Your message of "Wed, 26 Sep 2007 23:25:50 PDT." Message-ID: <20070927084140.1B2FD24835@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message you wrote: > > > Another way would be to use the out_be32() and friends functions > > defined in asm-ppc/io.h. They already have the sync/barrier included > > and are recommened for accessing peripheral devices. > > Agreed, but grep finds 132 calls to out[813] in driver and rtc files. As Stefan already pointed out on #u-boot, this is just an indication that this is a pretty common error. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de All easy problems have already been solved.