diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-22 18:31:33 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-31 07:57:28 -0600 |
commit | c10c8e313c836eb193f49c6f782a2e5a6e2f21d0 (patch) | |
tree | dffafa3ce083fe563ea23b9171e4c78485b5a200 /drivers/tpm | |
parent | c8a8c51039d83149a93fccb6e325bfdb8f63fa66 (diff) | |
download | u-boot-imx-c10c8e313c836eb193f49c6f782a2e5a6e2f21d0.zip u-boot-imx-c10c8e313c836eb193f49c6f782a2e5a6e2f21d0.tar.gz u-boot-imx-c10c8e313c836eb193f49c6f782a2e5a6e2f21d0.tar.bz2 |
dm: i2c: Add a command to adjust the offset length
I2C chips can support a register offset, with registers accessible by
sending this offset as the first part of any read or write transaction.
Most I2C chips have a single byte offset, thus the offset length is 1.
This provides access for up 256 registers.
However other offset lengths are supported, including 0.
Add a command to provide access to the offset length from the command
line. This allows the offset length to be read or written.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Christophe Ricard<christophe-h.ricard@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/tpm')
0 files changed, 0 insertions, 0 deletions