[U-Boot] [PATCH u-boot sunxi 1/4] sunxi: FIXUP: sunxi: initial generic sun7i cpu, board and start of day support
Hans de Goede
hdegoede at redhat.com
Sun Mar 16 14:53:47 CET 2014
We should not be raising the cpu core frequency until we have pmic support
in place.
Signed-off-by: Hans de Goede <hdegoede at 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
More information about the U-Boot
mailing list