projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
870847f
)
sc520: Remove printf calls from cpu_init_f
author
Graeme Russ
<graeme.russ@gmail.com>
Sat, 12 Feb 2011 04:11:40 +0000
(15:11 +1100)
committer
Graeme Russ
<graeme.russ@gmail.com>
Sat, 12 Feb 2011 04:11:40 +0000
(15:11 +1100)
In later patches, cpu_init_f will be called before console has been
initialised and printf will not be legitimately available
arch/i386/cpu/sc520/sc520.c
patch
|
blob
|
history
diff --git
a/arch/i386/cpu/sc520/sc520.c
b/arch/i386/cpu/sc520/sc520.c
index 19a678dfe300473c0ea14609ea2f9628bad20acb..76de6bee41a6c13852ce0d58ecf54d5775c20ede 100644
(file)
--- 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;
}