diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-03-29 16:26:48 (GMT) |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-03-31 15:03:58 (GMT) |
commit | 38491d9c6515eafd97d881cab0420652f07d92a5 (patch) | |
tree | 43c2174a8b6f4ecde4a85d96271b0ede5d57f20d /board/sunxi/board.c | |
parent | 4c6a9ca103f953b6e5e6dfcd56fb558e61ca3c05 (diff) | |
download | u-boot-38491d9c6515eafd97d881cab0420652f07d92a5.tar.xz |
power: axp818: Add support for FLDOs
The FLDOs on AXP818 PMIC normally provide power to CPUS and USB HSIC PHY
on the A83T/H8.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board/sunxi/board.c')
-rw-r--r-- | board/sunxi/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 2d5335f..2271c89 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -486,6 +486,12 @@ void sunxi_board_init(void) power_failed |= axp_set_eldo(2, CONFIG_AXP_ELDO2_VOLT); power_failed |= axp_set_eldo(3, CONFIG_AXP_ELDO3_VOLT); #endif + +#ifdef CONFIG_AXP818_POWER + power_failed |= axp_set_fldo(1, CONFIG_AXP_FLDO1_VOLT); + power_failed |= axp_set_fldo(2, CONFIG_AXP_FLDO2_VOLT); + power_failed |= axp_set_fldo(3, CONFIG_AXP_FLDO3_VOLT); +#endif #endif printf("DRAM:"); ramsize = sunxi_dram_init(); |