@@ -75,7 +75,6 @@ int board_mmc_init(bd_t *bis)
#ifdef CONFIG_SPL_BUILD
void sunxi_board_init(void)
{
- int power_failed = 0;
unsigned long ramsize;
printf("DRAM:");
@@ -91,14 +90,5 @@ void sunxi_board_init(void)
printf(" %lu MiB\n", ramsize >> 20);
if (!ramsize)
hang();
-
- /*
- * Only clock up the CPU to full speed if we are reasonably
- * assured it's being powered with suitable core voltage
- */
- if (!power_failed)
- clock_set_pll1(912000000);
- else
- printf("Failed to set core voltage! Can't set CPU frequency\n");
}
#endif
We should not be raising the cpu core frequency until we have pmic support in place. Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- board/sunxi/board.c | 10 ---------- 1 file changed, 10 deletions(-)