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

Tom Rini trini at konsulko.com
Fri Feb 26 19:16:48 CET 2016


On Thu, Feb 25, 2016 at 09:52:14AM -0600, Nishanth Menon wrote:

> From: Vitaly Andrianov <vitalya at ti.com>
> 
> 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>
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
> Signed-off-by: Nishanth Menon <nm at ti.com>
[snip]
> +#ifdef DUMP_DDR_CONFIG
> +static void dump_phy_config(struct ddr3_phy_config *ptr)

Please figure out how to do this with debug() instead.

[snip]
> +		puts("DDR3A Speed will be configured for 1333 Operation.\n");

Just printf, always, it's fine, really.

-- 
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/20160226/e4d71068/attachment.sig>


More information about the U-Boot mailing list