summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:40 +1100
committerGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:40 +1100
commit6d0cb349548f95081a6183745095109d33520852 (patch)
treef3d8380b40b7e1a7aa484d7c7cfad24b7bba0025
parent870847f5c5709b623b0d094780a994312b8da5a5 (diff)
downloadu-boot-imx-6d0cb349548f95081a6183745095109d33520852.zip
u-boot-imx-6d0cb349548f95081a6183745095109d33520852.tar.gz
u-boot-imx-6d0cb349548f95081a6183745095109d33520852.tar.bz2
sc520: Remove printf calls from cpu_init_f
In later patches, cpu_init_f will be called before console has been initialised and printf will not be legitimately available
-rw-r--r--arch/i386/cpu/sc520/sc520.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/i386/cpu/sc520/sc520.c b/arch/i386/cpu/sc520/sc520.c
index 19a678d..76de6be 100644
--- a/arch/i386/cpu/sc520/sc520.c
+++ b/arch/i386/cpu/sc520/sc520.c
@@ -46,11 +46,9 @@ int cpu_init_f(void)
/* set it to 133 MHz and write back */
writeb(0x02, &sc520_mmcr->cpuctl);
gd->cpu_clk = 133000000;
- printf("## CPU Speed set to 133MHz\n");
} else {
/* set it to 100 MHz and write back */
writeb(0x01, &sc520_mmcr->cpuctl);
- printf("## CPU Speed set to 100MHz\n");
gd->cpu_clk = 100000000;
}