Pārlūkot izejas kodu

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
Graeme Russ 14 gadi atpakaļ
vecāks
revīzija
6d0cb34954
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      arch/i386/cpu/sc520/sc520.c

+ 0 - 2
arch/i386/cpu/sc520/sc520.c

@@ -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;
 	}
 	}