[U-Boot] [PATCH] Fix compiler warning in mpc8xxx ddr code
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Sep 5 21:46:09 CEST 2008
On 14:40 Fri 05 Sep , Kumar Gala wrote:
> ctrl_regs.c: In function 'compute_fsl_memctl_config_regs':
> ctrl_regs.c:523: warning: 'caslat' may be used uninitialized in this function
> ctrl_regs.c:523: note: 'caslat' was declared here
>
> Add a warning in DDR1 case if cas_latency isn't a value we know about.
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> cpu/mpc8xxx/ddr/ctrl_regs.c | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
Thanks it's fix my warnings
Ack-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Best Regards,
J.
More information about the U-Boot
mailing list