Home
last modified time | relevance | path

Searched hist:f8a10ed1fd9986362a39f2b18d89429dfdb078cb (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/i2c/
H A Dmvtwsi.cf8a10ed1fd9986362a39f2b18d89429dfdb078cb Thu Jul 21 09:57:09 UTC 2016 mario.six@gdsys.cc <mario.six@gdsys.cc> i2c: mvtwsi: Make address length variable

The length of the address parameter of the __twsi_i2c_read and
__twsi_i2c_write functions is fixed to four bytes.

As a final step in the preparation of the DM conversion, we make the
length of this parameter variable by turning it into an array of bytes,
and convert the 32 bit value that's passed to the legacy functions into
a four-byte-array on the fly.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>