From: Kim Phillips Date: Sat, 26 Sep 2009 20:54:14 -0500 Subject: [U-Boot] [PATCH] mpc83xx: retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields In-Reply-To: <20090926204642.84a409bb.kim.phillips@freescale.com> References: <4A93A975.40009@denx.de> <4A93CB96.8000701@denx.de> <20090825103925.dc7ec42c.kim.phillips@freescale.com> <4A94D615.1060504@denx.de> <20090826173628.ddb2bdd4.kim.phillips@freescale.com> <4A9625B3.7040509@denx.de> <20090827155303.e2d7a2b8.kim.phillips@freescale.com> <98D28F4B-0807-4932-A10B-0F47D533AB40@kernel.crashing.org> <20090925181944.43f524e1.kim.phillips@freescale.com> <4ABDEEF4.8040109@denx.de> <20090926204642.84a409bb.kim.phillips@freescale.com> Message-ID: <20090926205414.f4e17e82.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 26 Sep 2009 20:46:42 -0500 Kim Phillips wrote: > On Sat, 26 Sep 2009 12:37:40 +0200 > Heiko Schocher wrote: > > > Kim Phillips wrote: > > > - /* LCRR - Clock Ratio Register (10.3.1.16) */ > > > - im->lbus.lcrr = CONFIG_SYS_LCRR; > > > + /* LCRR - Clock Ratio Register (10.3.1.16) > > > + * write, read, and isync per MPC8379ERM rev.1 CLKDEV field description > > > + */ > > > + clrsetbits_be32(&im->lbus.lcrr, lcrr_mask, lcrr_val); > > > + __raw_readl(&im->lbus.lcrr); > > > + isync(); > > > > Hmm.. shouldn;t this be done when running from RAM, as DaveLiu > > suggested? > > oh, I suppose so ;). here's v2: and now v3 (I had left a qe_base redefinition in v2):