diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-10-26 21:21:25 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-10-26 21:21:25 -0500 |
commit | 613ad28c3da4c7fc6336ef9d94993b25a5d0586e (patch) | |
tree | 0db182d8179fb3ae7523043b524ed656925f0abd /nand_spl/board/freescale | |
parent | e8967d96a0e8d09d91a3b7bd292746996dd8e7ac (diff) | |
download | bootable_bootloader_goldelico_gta04-613ad28c3da4c7fc6336ef9d94993b25a5d0586e.zip bootable_bootloader_goldelico_gta04-613ad28c3da4c7fc6336ef9d94993b25a5d0586e.tar.gz bootable_bootloader_goldelico_gta04-613ad28c3da4c7fc6336ef9d94993b25a5d0586e.tar.bz2 |
ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c
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>
Diffstat (limited to 'nand_spl/board/freescale')
-rw-r--r-- | 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; |