From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Thu, 19 Jun 2014 09:41:50 +0900 Subject: [U-Boot] [PATCH] trats/trats2: exynos_power_init: return 0 if no battery detected. In-Reply-To: <1402412108-3884-1-git-send-email-p.marczak@samsung.com> References: <1402412108-3884-1-git-send-email-p.marczak@samsung.com> Message-ID: <53A231CE.2070902@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/06/14 23:55, Przemyslaw Marczak wrote: > Generic board support is now enabled for Exynos 4, and if any > init function returns an error then the init process is stopped. > > This makes a boot issue on the Trats and Trats2 devices. If the device > is supplied by USB cable or an external power supply then it can't boot > because function exynos_power_init returns an error. Now this function > returns 0 if battery is not connected. > > Signed-off-by: Przemyslaw Marczak > Cc: Lukasz Majewski > Cc: Piotr Wilczek > Cc: Minkyu Kang > --- > board/samsung/trats/trats.c | 2 +- > board/samsung/trats2/trats2.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > applied to u-boot-samsung. Thanks, Minkyu Kang.