From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 28 May 2008 11:14:21 -0500 Subject: [U-Boot-Users] From: Sergei Poselenov In-Reply-To: <200805281031.09702.sr@denx.de> References: <1211890770-20866-1-git-send-email-wd@denx.de> <200805272017.13595.sr@denx.de> <483D0F97.8010302@emcraft.com> <200805281031.09702.sr@denx.de> Message-ID: <20080528161421.GA2847@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 28, 2008 at 10:31:09AM +0200, Stefan Roese wrote: > On Wednesday 28 May 2008, Sergei Poselenov wrote: > > What is the reason for doing this? Compiler issues? I see the direct > > pointer addressing is used all over the 85xx code. Either the compiler or the hardware could reorder direct accesses. > Yes, I just noticed that these registers are accessed this way on (all?) > MPC85xx boards. So it is perhaps not a problem with these registers. Not sure > though, since I'm no MPC85xx expert. Perhaps somebody from FSL can comment > here. The accessors should be used; please don't copy bad examples. :-) -Scott