[U-Boot] [PATCH] keystone2: use SPD info to configure K2HK and K2E DDR3

Tom Rini trini at konsulko.com
Mon Jun 15 15:47:44 CEST 2015


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 <vitalya at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150615/5c508cdc/attachment.sig>


More information about the U-Boot mailing list