coreboot-kgpe-d16/src/soc
Richard Spiegel cd04e31c8b soc/amd/stoneyridge: Simplify and fix SMBUS code
Solve issues left from Change-Id Ib88a868e654ad127be70ecc506f6b90b784f8d1b
Unify code: smbus.c to have the actual execution code, sm.c and smbus_spd.c
call functions within smbus.c.

Fix some functions that wrongly use SMBHSTCTRL as the register for the
data being transfered. The correct register is SMBHSTDAT0.

Include file smbus.h should only be used by sm.c, smbus.c and smbus_spd.c.

BUG=b:62200225

Change-Id: Ibd55560c95b6752652a4f255b04198e7a4e77d05
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/21887
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
2017-11-10 19:11:12 +00:00
..
amd soc/amd/stoneyridge: Simplify and fix SMBUS code 2017-11-10 19:11:12 +00:00
broadcom soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
dmp soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
imgtec soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
intel soc/intel/cannonlake: Remove structure variable initialization with 0 2017-11-10 16:38:05 +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: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
samsung soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00
ucb RISC-V boards: Stop using the config string 2017-11-07 12:31:00 +00:00