coreboot/util/sconfig
Duncan Laurie 3b78558264 UPSTREAM: 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
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/14788
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry-picked from commit b7ce5fe311)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/346513
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Commit-Queue: Stefan Reinauer <reinauer@google.com>
Tested-by: Stefan Reinauer <reinauer@google.com>
2016-05-20 20:04:02 +00:00
..
lex.yy.c_shipped util/sconfig: Fix warnings 2016-05-08 21:37:36 +02:00
main.c UPSTREAM: sconfig: Add 10bit addressing mode to i2c device type 2016-05-20 20:04:02 +00:00
Makefile.inc
sconfig.h util/sconfig: Fix warnings 2016-05-08 21:37:36 +02:00
sconfig.l UPSTREAM: sconfig: Allow strings in devicetree.cb 2016-05-20 20:03:58 +00:00
sconfig.tab.c_shipped util/sconfig: Fix warnings 2016-05-08 21:37:36 +02:00
sconfig.tab.h_shipped util/sconfig: Fix warnings 2016-05-08 21:37:36 +02:00
sconfig.y util/sconfig: Fix warnings 2016-05-08 21:37:36 +02:00