]> git.sur5r.net Git - u-boot/commitdiff
ColdFire: Fix compilation error
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Wed, 22 Oct 2008 11:55:30 +0000 (11:55 +0000)
committerJohn Rigby <jrigby@freescale.com>
Mon, 3 Nov 2008 16:45:58 +0000 (09:45 -0700)
The error was caused by the change for strmhz() in cpu.c.
A few of them were one extra close parenthesis.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
cpu/mcf5227x/cpu.c
cpu/mcf523x/cpu.c
cpu/mcf532x/cpu.c

index 765aec639a98304b17034da9cc967cb3411e45f0..d9f5f43c3cdb3b7dd0de916b367a8bed4f54e8e5 100644 (file)
@@ -65,12 +65,12 @@ int checkcpu(void)
                printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk,
                       ver);
                printf("       CPU CLK %s MHz BUS CLK %s MHz FLB CLK %s MHz\n",
-                      strmhz(buf1, gd->cpu_clk)),
-                      strmhz(buf2, gd->bus_clk)),
-                      strmhz(buf3, gd->flb_clk)));
+                      strmhz(buf1, gd->cpu_clk),
+                      strmhz(buf2, gd->bus_clk),
+                      strmhz(buf3, gd->flb_clk));
                printf("       INP CLK %s MHz VCO CLK %s MHz\n",
-                      strmhz(buf1, gd->inp_clk)),
-                      strmhz(buf2, gd->vco_clk)));
+                      strmhz(buf1, gd->inp_clk),
+                      strmhz(buf2, gd->vco_clk));
        }
 
        return 0;
index b9e48aa433fdf9e3d32c0dae5d1dbd667f6203a9..a1a51336c23f765a2e3a3292407a6d1ee922c79d 100644 (file)
@@ -65,8 +65,8 @@ int checkcpu(void)
                printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk,
                       ver);
                printf("       CPU CLK %s MHz BUS CLK %s MHz\n",
-                      strmhz(buf1, gd->cpu_clk)),
-                      strmhz(buf2, gd->bus_clk)));
+                      strmhz(buf1, gd->cpu_clk),
+                      strmhz(buf2, gd->bus_clk));
        }
 
        return 0;
index bcb092de0f4933f761bec4866d4a1d2761988cb5..331cc15da4ce79579020d4689ec6cb90cc3eacb8 100644 (file)
@@ -104,8 +104,8 @@ int checkcpu(void)
                printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk,
                       ver);
                printf("       CPU CLK %s MHz BUS CLK %s MHz\n",
-                      strmhz(buf1, gd->cpu_clk)),
-                      strmhz(buf2, gd->bus_clk)));
+                      strmhz(buf1, gd->cpu_clk),
+                      strmhz(buf2, gd->bus_clk));
        }
 
        return 0;