We should not be raising the cpu core frequency until we have pmic support
in place.

Signed-off-by: Hans de Goede <hdego...@redhat.com>
---
 board/sunxi/board.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 5dbcf2a..cc3083c 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -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
-- 
1.9.0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to