mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-27 17:12:03 +00:00
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>
This commit is contained in:
parent
e8967d96a0
commit
613ad28c3d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
void board_init_f(ulong bootflag)
|
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_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
|
||||||
volatile ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR);
|
volatile ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR);
|
||||||
uint val, temp, sysclk_mask;
|
uint val, temp, sysclk_mask;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue