[U-Boot] [Patch v2 1/2] powerpc/mpc8xxx: Enable calculation for fixed DDR chips

York Sun yorksun at freescale.com
Wed Jun 8 00:49:22 CEST 2011


On Tue, 2011-06-07 at 08:35 -0500, Kumar Gala wrote:
> > +- CONFIG_SYS_DDR_RAW_TIMING
> > +		Get DDR timing information from other than SPD. Common with
> > +		soldered DDR chips onboard without SPD. DDR raw timing
> > +		parameters are extracted from datasheet and hard-coded into
> > +		header files or board specific files.
> > +
> 
> How is this not just !CONFIG_SPD ?

There are boards with fixed DDR in the past. They didn't use SPD.

> > +/* board specific function */
> > +#ifdef CONFIG_SYS_DDR_RAW_TIMING
> > +int fsl_ddr_get_dimm_params(dimm_params_t *pdimm,
> > +			unsigned int controller_number,
> > +			unsigned int dimm_number);
> 
> where is this code?

This code is in board ddr.c file. It is board specific.

York





More information about the U-Boot mailing list