]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
trats/trats2: exynos_power_init: return 0 if no battery detected.
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 10 Jun 2014 14:55:08 +0000 (16:55 +0200)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 19 Jun 2014 00:37:16 +0000 (09:37 +0900)
commit4a1883651f7e54ad5589ee98c17133fb07247c6f
treefd26e009cb9fcd58488dafd80da814946ccdad8a
parentf8caed3131603453052e834ffe19040fae744614
trats/trats2: exynos_power_init: return 0 if no battery detected.

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 <p.marczak@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Piotr Wilczek <p.wilczek@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/trats/trats.c
board/samsung/trats2/trats2.c