Browse Source

u-boot: generic: Missing semicolon causing hang

After fixing the starting missing offset in the anadig_reg struct, the
system was hanging due to an endless while loop, due to a missing
semicolon.

This bug was masked due to the wrong access of the anadig register
configuration.

Signed-off-by: Juan Gutierrez <b44802@freescale.com>
Juan Gutierrez 11 years ago
parent
commit
3b77d7a6b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/cpu/armv7/vf610/generic.c

+ 1 - 1
arch/arm/cpu/armv7/vf610/generic.c

@@ -344,7 +344,7 @@ void set_usb_phy1_clk(void)
     reg |= ANADIG_3P0_EN_BO_MASK;
     reg |= ANADIG_3P0_EN_LINREG_MASK;
     writel(reg, &anadig->reg_3p0);
-    while(!(readl(&anadig->reg_3p0)& ANADIG_3P0_OK_VDD3P0_MASK))
+    while(!(readl(&anadig->reg_3p0)& ANADIG_3P0_OK_VDD3P0_MASK));
 
 
     reg = readl(&anadig->pll3_ctrl);