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
This commit is contained in:
parent
870847f5c5
commit
6d0cb34954
1 changed files with 0 additions and 2 deletions
|
@ -46,11 +46,9 @@ int cpu_init_f(void)
|
||||||
/* set it to 133 MHz and write back */
|
/* set it to 133 MHz and write back */
|
||||||
writeb(0x02, &sc520_mmcr->cpuctl);
|
writeb(0x02, &sc520_mmcr->cpuctl);
|
||||||
gd->cpu_clk = 133000000;
|
gd->cpu_clk = 133000000;
|
||||||
printf("## CPU Speed set to 133MHz\n");
|
|
||||||
} else {
|
} else {
|
||||||
/* set it to 100 MHz and write back */
|
/* set it to 100 MHz and write back */
|
||||||
writeb(0x01, &sc520_mmcr->cpuctl);
|
writeb(0x01, &sc520_mmcr->cpuctl);
|
||||||
printf("## CPU Speed set to 100MHz\n");
|
|
||||||
gd->cpu_clk = 100000000;
|
gd->cpu_clk = 100000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue