[U-Boot] [U-Boot, 1/2] board/BuR/common: move I2C initialization from common part to board-specific

Tom Rini trini at konsulko.com
Sat Mar 28 19:09:21 CET 2015


On Thu, Mar 19, 2015 at 10:43:15AM +0100, Hannes Petermaier wrote:

> From: Hannes Petermaier <hannes.petermaier at br-automation.com>
> 
> At this time I2C and responsible pin-mux is setup during PMIC initialziation
> within common.c, this is possible because today PMIC is always connected on
> I2C0.
> 
> In Future this will be changed, PMIC isn't anymore connected to bus0 in call
> cases.
> 
> So we do following:
> - rename enable_i2c_pin_mux0 to enable_i2c_pin_mux to be generic for enabling
>   pin-mux on different or more busses.
> - move the call to i2c_pin_mux and i2c_init from common.c to the specific
>   board.c
> 
> Signed-off-by: Hannes Petermaier <hannes.petermaier at br-automation.com>
> Signed-off-by: Hannes Petermaier <oe5hpm at oevsv.at>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150328/0c9abf1a/attachment.sig>


More information about the U-Boot mailing list