summaryrefslogtreecommitdiff
path: root/include/e500.h
diff options
context:
space:
mode:
authormario.six@gdsys.cc <mario.six@gdsys.cc>2016-07-21 11:57:09 +0200
committerHeiko Schocher <hs@denx.de>2016-07-26 10:20:05 +0200
commitf8a10ed1fd9986362a39f2b18d89429dfdb078cb (patch)
tree2366d6687fe4ac992040b668ce8a4fccd1222ace /include/e500.h
parent3c4db636ac918a35c4c6671e8d060e3a72ba7c94 (diff)
downloadu-boot-imx-f8a10ed1fd9986362a39f2b18d89429dfdb078cb.zip
u-boot-imx-f8a10ed1fd9986362a39f2b18d89429dfdb078cb.tar.gz
u-boot-imx-f8a10ed1fd9986362a39f2b18d89429dfdb078cb.tar.bz2
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/e500.h')
0 files changed, 0 insertions, 0 deletions