From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 28 Mar 2015 14:09:21 -0400 Subject: [U-Boot] [U-Boot, 1/2] board/BuR/common: move I2C initialization from common part to board-specific In-Reply-To: <1426758196-29608-1-git-send-email-oe5hpm@oevsv.at> References: <1426758196-29608-1-git-send-email-oe5hpm@oevsv.at> Message-ID: <20150328180921.GG32541@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Mar 19, 2015 at 10:43:15AM +0100, Hannes Petermaier wrote: > From: Hannes Petermaier > > 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 > Signed-off-by: Hannes Petermaier 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: