coreboot-kgpe-d16/src
Aaron Durbin 439cee9098 device/i2c_bus: allow i2c_bus and i2c_simple to coexist
If one wants to implement both i2c_bus.h and i2c_simple.h APIs
the compilation unit needs to be guarded or coordinated carefully
with different compilation units. Instead, name the i2c_bus
functions with _dev such that it indicates that they operate on
struct device. One other change to allow i2c_bus.h to be built in
non-ramstage environments is to ensure DEVTREE_CONST is used for
the dev field in struct bus.

BUG=b:72121803

Change-Id: I267e27e62c95013e8ff8b0728dbe9e7b523de453
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/23370
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2018-01-24 05:02:50 +00:00
..
acpi arch/x86: Add common AMD ACPI hardware definitions 2017-11-10 19:15:38 +00:00
arch cpu/intel/speedstep: Fix the PNOT ACPI method 2018-01-17 17:09:13 +00:00
commonlib commonlib/region: expose subregion helper function 2017-12-15 23:35:05 +00:00
console
cpu AGESA f15 cimx/sb700: Remove unused chips code 2018-01-24 02:09:18 +00:00
device device/i2c_bus: allow i2c_bus and i2c_simple to coexist 2018-01-24 05:02:50 +00:00
drivers device/i2c_bus: allow i2c_bus and i2c_simple to coexist 2018-01-24 05:02:50 +00:00
ec google/chromeec: Enable unified host event programming interface 2018-01-17 17:10:32 +00:00
include device/i2c_bus: allow i2c_bus and i2c_simple to coexist 2018-01-24 05:02:50 +00:00
lib security/tpm: Move tpm TSS and TSPI layer to security section 2018-01-18 01:35:31 +00:00
mainboard amd/torpedo cimx/sb900: Fix include directory 2018-01-24 02:08:51 +00:00
northbridge AGESA f15 cimx/sb700: Remove unused chips code 2018-01-24 02:09:18 +00:00
security security/tpm: Move TSS stacks into sub-directory 2018-01-18 02:17:34 +00:00
soc google/kahlee/BiosCallOuts.c: Remove platform_FchParams_reset 2018-01-23 05:46:04 +00:00
southbridge AGESA f15 cimx/sb700: Remove unused chips code 2018-01-24 02:09:18 +00:00
superio Intel i3100 boards & chips: Remove - using LATE_CBMEM_INIT 2018-01-15 23:25:12 +00:00
vendorcode AGESA f15 cimx/sb700: Remove vendorcode source 2018-01-24 02:11:04 +00:00
Kconfig util/blobtool: rename to bincfg 2018-01-18 13:47:20 +00:00