From: Kumar Gala <galak@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c
Date: Mon, 26 Oct 2009 21:26:00 -0500 [thread overview]
Message-ID: <1256610360-12356-2-git-send-email-galak@kernel.crashing.org> (raw)
In-Reply-To: <1256610360-12356-1-git-send-email-galak@kernel.crashing.org>
nand_boot.c: In function 'board_init_f':
nand_boot.c:44: warning: 'sys_clk' may be used uninitialized in this function
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
nand_spl/board/freescale/p1_p2_rdb/nand_boot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c b/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
index bd513b8..af442ea 100644
--- a/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
+++ b/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
@@ -41,7 +41,7 @@ DECLARE_GLOBAL_DATA_PTR;
void board_init_f(ulong bootflag)
{
- uint plat_ratio, bus_clk, sys_clk;
+ uint plat_ratio, bus_clk, sys_clk = 0;
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
volatile ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR);
uint val, temp, sysclk_mask;
--
1.6.0.6
next prev parent reply other threads:[~2009-10-27 2:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 2:25 [U-Boot] [PATCH] ppc/85xx: Fix building NAND_SPL out of tree Kumar Gala
2009-10-27 2:26 ` Kumar Gala [this message]
2009-10-27 2:28 ` [U-Boot] [PATCH] ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c Kumar Gala
2009-10-27 2:28 ` [U-Boot] [PATCH] ppc/85xx: Fix building NAND_SPL out of tree Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1256610360-12356-2-git-send-email-galak@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.