On 06/15/2015 09:47 AM, Tom Rini wrote:
On Mon, Jun 15, 2015 at 08:32:21AM -0400, Vitaly Andrianov wrote:

This commit replaces hard-coded EMIF and PHY DDR3 configurations for
predefined SODIMMs to a calculated configuration. The SODIMM parameters
are read from SODIMM's SPD and used to calculated the configuration.

The current commit supports calculation for DDR3 with 1600MHz and 1333MHz
only.

Signed-off-by: Vitaly Andrianov <vita...@ti.com>

There's two problems here.  The first is, no floating point math in
U-Boot.  The second is that between board/ti/ks2_evm/ddr3_spd.c that
you're adding and drivers/ddr/fsl/ddr3_dimm_params.c and
drivers/ddr/mvebu/ddr3_spd.c it seems like we have two and you would add
a 3rd file for reading the standard-defined SPD data.  We need one set
of functions in drivers/ddr/ to read the spd information and do whatever
really common bits can be done with it and the rest in
drivers/ddr/subdir/.

Tom,

Thank you. I'll rework the calculation not to use floating point math. Also I'll check whether I can reuse existing drivers.

Regards,
Vitaly
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to