soc/intel/common/block/smbus: Deduplicate some code
commitc2461a174da81fa2c373d4ef56747d269a0b238f
authorAngel Pons <th3fanbus@gmail.com>
Tue, 17 May 2022 18:29:46 +0000 (17 20:29 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 19 May 2022 11:05:27 +0000 (19 11:05 +0000)
tree83218a92703b5db7f16fd9966a8f2c5745c42c50
parentd8f6d2a92def145c456b385dbc8002f822008735
soc/intel/common/block/smbus: Deduplicate some code

Reuse existing SMBus code from southbridge/intel/common/smbus_ops.h.

Change-Id: Iea4f6886bb49590f7f96abbfbe631ac9d4dda902
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64432
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/common/block/smbus/Kconfig
src/soc/intel/common/block/smbus/smbus.c
src/soc/intel/common/block/smbus/smbuslib.h