diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-12-13 14:02:38 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-14 14:56:37 +0100 |
commit | 50e0d5e60b0a4c2c9de5ba332be1c36a31d728d3 (patch) | |
tree | 82b9346c2a4df13eaa3a26e81299e2e24be17a35 /board | |
parent | 1262a85fe36936f404dc2deccc3ebaacebb612c5 (diff) | |
download | u-boot-imx-50e0d5e60b0a4c2c9de5ba332be1c36a31d728d3.zip u-boot-imx-50e0d5e60b0a4c2c9de5ba332be1c36a31d728d3.tar.gz u-boot-imx-50e0d5e60b0a4c2c9de5ba332be1c36a31d728d3.tar.bz2 |
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 <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board')
-rw-r--r-- | board/sunxi/board.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c index e2ebf83..5bf19b7 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -180,22 +180,12 @@ 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:"); ramsize = sunxi_dram_init(); |