]> code.ossystems Code Review - bsp/u-boot.git/commit
imx: ventana: detect pmic using i2c probe instead of board model
authorTim Harvey <tharvey@gateworks.com>
Sat, 9 May 2015 01:28:37 +0000 (18:28 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 15 May 2015 15:22:44 +0000 (12:22 -0300)
commit3dcd60312ff985c4449efdee6dcc9a7d68b6493a
tree451d7047082f6414f4484538f652562e31728b26
parent32f01d2dccd3b12718c52c44d6f3c1cf51d67344
imx: ventana: detect pmic using i2c probe instead of board model

Avoid requiring board-model and probe pmic by its i2c address.
This is in preparation for being able to call pmic_setup() from SPL
and not need board type.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/common.c
board/gateworks/gw_ventana/common.h
board/gateworks/gw_ventana/gw_ventana.c