coreboot-kgpe-d16/src/soc
Aaron Durbin b94a27506e drivers/i2c/designware: reduce API complication for bus config
Right now dw_i2c_get_soc_cfg() is expecting the SoC to implement
that callback for obtaining the bus config. However, we're currently
forcing another parameter of struct device so one can do the lookup.
This works for Intel-based systems since the struct device was needed
to program the BAR, etc. However, from an API standpoint, it just
complicates matters by needing to obtain the struct device. The SoC
already has knowlege of its own devices so it can get the config
itself by bus number. Therefore, remove that contraint from the API.

BUG=b:70232394

Change-Id: Id8558f5deedda0963a46a532a7bf984e168fb270
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/23420
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2018-01-25 22:36:30 +00:00
..
amd soc/amd/stoneyridge: Add I2C devicetree support. 2018-01-25 22:35:38 +00:00
broadcom soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
dmp DMP Vortex86ex board & chip: Remove - using LATE_CBMEM_INIT 2018-01-15 23:23:17 +00:00
imgtec soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
intel drivers/i2c/designware: reduce API complication for bus config 2018-01-25 22:36:30 +00:00
lowrisc RISC-V boards: Stop using the config string 2017-11-07 12:31:00 +00:00
marvell soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
mediatek soc/mediatek/mt8173: Remove cast of NULL* to void * 2017-11-03 16:03:30 +00:00
nvidia soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
qualcomm soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
rockchip soc/rockchip/rk3399: Ensure full eDP init sequence 2018-01-10 20:57:17 +00:00
samsung soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
ucb riscv: Remove config string support 2017-12-02 05:25:00 +00:00