diff mbox

[U-Boot,u-boot,sunxi,1/4] sunxi: FIXUP: sunxi: initial generic sun7i cpu, board and start of day support

Message ID 1394978030-14511-2-git-send-email-hdegoede@redhat.com
State RFC
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Hans de Goede March 16, 2014, 1:53 p.m. UTC
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(-)
diff mbox

Patch

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