[U-Boot] [PATCH v3 12/23] tegra: Add EMC support for optimal memory timings

Albert ARIBAUD albert.u.boot at aribaud.net
Sat Oct 6 18:54:37 CEST 2012


Hi Jimmy,

On Mon, 09 Apr 2012 16:52:56 -0700, jimmzhang <jimmzhang at nvidia.com>
wrote:

> On Mon, 2012-04-02 at 16:18 -0700, Simon Glass wrote:
> > From: Jimmy Zhang <jimmzhang at nvidia.com>
> > 
> > Add support for setting up the memory controller parameters. Boards
> > can set up an appropriate table in the device tree.
> > 
> 
> Signed-off-by: Jimmy Zhang <jimmzhang at nvidia.com>
> 
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---

This patch causes a warning with building with the debian cross tool
chain:

emc.c: In function 'tegra_set_emc':
emc.c:272:15: warning: 'table' may be used uninitialized in this
function [-Wmaybe-uninitialized] emc.c: In function 'tegra_set_emc':
emc.c:272:15: warning: 'table' may be used uninitialized in this
function [-Wmaybe-uninitialized]

Could you provide a patch to fix this?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list