From: Peter Tyser Date: Tue, 15 Sep 2009 22:32:31 -0500 Subject: [U-Boot] [PATCH] ppc/85xx: Fix LCRR_CLKDIV defines In-Reply-To: <1253071613-17722-1-git-send-email-galak@kernel.crashing.org> References: <1253071613-17722-1-git-send-email-galak@kernel.crashing.org> Message-ID: <1253071951.2140.13.camel@ptyser-laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2009-09-15 at 22:26 -0500, Kumar Gala wrote: > For some reason the CLKDIV field varies between SoC in how it interprets > the bit values. > > All 83xx and early (e500v1) PQ3 devices support: > clk/2: CLKDIV = 2 > clk/4: CLKDIV = 4 > clk/8: CLKDIV = 8 > > Newer PQ3 (e500v2) and MPC86xx support: > clk/4: CLKDIV = 2 > clk/8: CLKDIV = 4 > clk/16: CLKDIV = 8 > > Ensure that the MPC86xx and MPC85xx still get the same behavior and make > the the defines reflect their logical view (not the value of the field). > > Signed-off-by: Kumar Gala Acked-by: Peter Tyser Thanks