summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormario.six@gdsys.cc <mario.six@gdsys.cc>2016-07-21 09:57:09 (GMT)
committerHeiko Schocher <hs@denx.de>2016-07-26 08:20:05 (GMT)
commitf8a10ed1fd9986362a39f2b18d89429dfdb078cb (patch)
tree2366d6687fe4ac992040b668ce8a4fccd1222ace /include
parent3c4db636ac918a35c4c6671e8d060e3a72ba7c94 (diff)
downloadu-boot-fsl-qoriq-f8a10ed1fd9986362a39f2b18d89429dfdb078cb.tar.xz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions