mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
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
@ -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…
x
Reference in New Issue
Block a user