aboutsummaryrefslogtreecommitdiff
path: root/src/include/device/path.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-05-07 19:49:37 -0700
committerDuncan Laurie <dlaurie@google.com>2016-05-16 19:49:46 +0200
commitb7ce5fe31120d6fb7866f2e3e6c66b93bf185127 (patch)
treefd5dfe2185fb5c75b10b38da1dc4c0fb4d1ba4d8 /src/include/device/path.h
parentb1fb0152bfe02d5f22a9550e22b8cc522b5adbfd (diff)
sconfig: Add 10bit addressing mode to i2c device type
Use the second token for an i2c device entry in devicetree.cb to indicate if it should use 10-bit addressing or 7-bit. The default if not provided is to use 7-bit addressing, but it can be changed to 10-bit addressing with the ".1" suffix. For example: chip drivers/i2c/generic device i2c 3a.1 on end end Change-Id: I1d81a7e154fbc040def4d99ad07966fac242a472 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/14788 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include/device/path.h')
-rw-r--r--src/include/device/path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device/path.h b/src/include/device/path.h
index ba7661d6c4..8421a38473 100644
--- a/src/include/device/path.h
+++ b/src/include/device/path.h
@@ -53,6 +53,7 @@ struct pnp_path
struct i2c_path
{
unsigned device;
+ unsigned mode_10bit;
};
struct apic_path