summaryrefslogtreecommitdiffstats
path: root/include/circbuf.h
diff options
context:
space:
mode:
authorŁukasz Majewski <l.majewski@samsung.com>2012-11-13 03:21:53 +0000
committerAnatolij Gustschin <agust@denx.de>2012-11-14 11:21:07 +0100
commit86879d7120ab4000d924b12315c01d57506af832 (patch)
tree15eaff3cf40bbebbde4914d88c3890a6530b48ba /include/circbuf.h
parentb5bf9cafea246a6572c122bb3971cb48f50fc9ce (diff)
downloadtalos-obmc-uboot-86879d7120ab4000d924b12315c01d57506af832.tar.gz
talos-obmc-uboot-86879d7120ab4000d924b12315c01d57506af832.zip
pmic:i2c: Add I2C sensor byte order (big/little) to PMIC framework
Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. Support for big and little sensor endianess is added. Moreover calls to [leXX|beXX]_to_cpu have been added to support little and big endian SoCs. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/circbuf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud