diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-14 16:19:34 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-08-31 08:43:41 +0200 |
commit | 7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e (patch) | |
tree | a8f4fe1c78ec20dc481cc6d6936d780ebd9e4407 /board/sunxi | |
parent | f875bbb49111c308b90b9ca74d1b79f69498b278 (diff) | |
download | u-boot-imx-7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e.zip u-boot-imx-7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e.tar.gz u-boot-imx-7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e.tar.bz2 |
sunxi: axp221: Allow specifying dcdc2 voltage via Kconfig
Allow specifying the axp221 dcdc2 voltage via Kconfig, this is necessary
because on some boards the 1.2V default does not work reliable.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi')
-rw-r--r-- | board/sunxi/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c index f85e825..680523a 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -437,7 +437,7 @@ void sunxi_board_init(void) #ifdef CONFIG_AXP221_POWER power_failed = axp221_init(); power_failed |= axp221_set_dcdc1(CONFIG_AXP221_DCDC1_VOLT); - power_failed |= axp221_set_dcdc2(1200); /* A31:VDD-GPU, A23:VDD-SYS */ + power_failed |= axp221_set_dcdc2(CONFIG_AXP221_DCDC2_VOLT); power_failed |= axp221_set_dcdc3(1200); /* VDD-CPU */ #ifdef CONFIG_MACH_SUN6I power_failed |= axp221_set_dcdc4(1200); /* A31:VDD-SYS */ |