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)
committerStefano Babic <sbabic@denx.de>
Fri, 15 May 2015 17:21:25 +0000 (19:21 +0200)
commit6d38f3a85d9bfee387c4509d3d927beb4c110901
treef4e1052ef9ba5aa902a0b983df8b011f0c8774b2
parent2d833c8528afa1d080f29597bae732c6d048c316
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