From: York Sun Date: Fri, 3 Jun 2011 16:10:11 +0800 Subject: [U-Boot] [PATCH 6/7] powerpc/mpc8xxx: Adding fallback to raw timing on supported boards In-Reply-To: References: <1306452353-11611-1-git-send-email-yorksun@freescale.com> <1306452353-11611-6-git-send-email-yorksun@freescale.com> Message-ID: <1307088611.3137.12.camel@oslab-l1> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2011-06-03 at 02:46 -0500, Kumar Gala wrote: > On May 26, 2011, at 6:25 PM, York Sun wrote: > > > In case of empty SPD or checksum error, fallback to raw timing on > > supported boards. > > > > Signed-off-by: York Sun > > --- > > arch/powerpc/cpu/mpc8xxx/ddr/main.c | 8 ++++++++ > > 1 files changed, 8 insertions(+), 0 deletions(-) > > > > diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/main.c b/arch/powerpc/cpu/mpc8xxx/ddr/main.c > > index db7cf11..2e43da6 100644 > > --- a/arch/powerpc/cpu/mpc8xxx/ddr/main.c > > +++ b/arch/powerpc/cpu/mpc8xxx/ddr/main.c > > @@ -343,12 +343,20 @@ fsl_ddr_compute(fsl_ddr_info_t *pinfo, unsigned int start_step, > > &(pinfo->dimm_params[i][j]); > > > > retval = compute_dimm_parameters(spd, pdimm, i); > > +#ifdef CONFIG_DDR_RAW_TIMING > > Should this be CONFIG_SYS_DDR_RAW_TIMING?? > > We need this added to README at a minimum for what DDR_RAW_TIMING means. > Will do. York