]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: fsl: Fix driver initialization
authormario.six@gdsys.cc <mario.six@gdsys.cc>
Mon, 23 May 2016 08:12:11 +0000 (10:12 +0200)
committerYork Sun <york.sun@nxp.com>
Tue, 26 Jul 2016 16:00:44 +0000 (09:00 -0700)
commit27059c3e4d99c134d050be62601afe43171173b3
tree352e74bf8c33118c5b648ba9145ef66fc9f48ad0
parent29d63a59eaf1c9f3b37e249cda2a97e5e4f183f8
i2c: fsl: Fix driver initialization

Due to a oversight in testing, the initialization of the recently
introduced Freescale I2C DM driver works only for 36 bit mode of e.g.
the MPC85XX SoCs (specifically, if the physical addresses are 64 bit
wide and the DT addresses 32 bit wide).

This patch corrects the initialization so that it will work in a more
general setting.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/i2c/fsl_i2c.c