]> git.sur5r.net Git - u-boot/commit
mxs: Do not disable bo detection when DC-DC is already enabled
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 21 May 2015 11:20:17 +0000 (11:20 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 1 Jun 2015 07:21:54 +0000 (09:21 +0200)
commit7bbc5ff732bcf8d2aa935249ce4b7c28a701ca51
tree264b3b231ca9738075d0ee46cbbe6def1c71f7c8
parent68006aeb6d62343238578c6ea767907d63346aad
mxs: Do not disable bo detection when DC-DC is already enabled

In case the DC-DC is already enabled mxs_enable_4p2_dcdc_input() returns
without reenabling brown out detection. So fix this issue by
moving the return before brown out deactivation.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c