Skip to content
Snippets Groups Projects
Commit 1a332da6 authored by Stefan Roese's avatar Stefan Roese
Browse files

ppc4xx: Fix problem with I2C bus >= 1 initialization


This patch fixes a problem introduced with patch eb5eb2b0
[ppc4xx: Cleanup PPC4xx I2C infrastructure]. We need to assign the I2C
base address to the "i2c" pointer inside of the controller loop.
Otherwise controller 0 is initialized multiple times instead of
initializing each I2C controller sequentially.

Tested on Katmai.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
parent 060f2853
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment