From 50e0d5e60b0a4c2c9de5ba332be1c36a31d728d3 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 13 Dec 2014 14:02:38 +0100 Subject: sunxi: axp221: Explicitly turn off unused voltages Explicitly turn off unused voltages, rather then leaving them as is. Likewise explictly enabled the dcdc convertors, rather then assuming they are already enabled at boot. Signed-off-by: Hans de Goede Acked-by: Ian Campbell --- board/sunxi/board.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'board/sunxi/board.c') diff --git a/board/sunxi/board.c b/board/sunxi/board.c index e2ebf83688..5bf19b7aac 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -180,21 +180,11 @@ void sunxi_board_init(void) power_failed |= axp221_set_dcdc3(1200); power_failed |= axp221_set_dcdc4(1200); power_failed |= axp221_set_dcdc5(1500); -#if CONFIG_AXP221_DLDO1_VOLT != -1 power_failed |= axp221_set_dldo1(CONFIG_AXP221_DLDO1_VOLT); -#endif -#if CONFIG_AXP221_DLDO4_VOLT != -1 power_failed |= axp221_set_dldo4(CONFIG_AXP221_DLDO4_VOLT); -#endif -#if CONFIG_AXP221_ALDO1_VOLT != -1 power_failed |= axp221_set_aldo1(CONFIG_AXP221_ALDO1_VOLT); -#endif -#if CONFIG_AXP221_ALDO2_VOLT != -1 power_failed |= axp221_set_aldo2(CONFIG_AXP221_ALDO2_VOLT); -#endif -#if CONFIG_AXP221_ALDO3_VOLT != -1 power_failed |= axp221_set_aldo3(CONFIG_AXP221_ALDO3_VOLT); -#endif #endif printf("DRAM:"); -- cgit v1.2.3