intel/braswell: Drop use of <device/early_smbus.h>

Change-Id: Id3fa0745e90d8bb99965eceec0ac129fe0ff7446
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38046
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
This commit is contained in:
Kyösti Mälkki 2020-01-01 17:56:20 +02:00
parent 2469a9eee8
commit 9e83840bdc
1 changed files with 0 additions and 11 deletions

View File

@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
#include <device/early_smbus.h>
#include <soc/iomap.h>
#include <soc/pci_devs.h>
#include <device/pci_def.h>
@ -24,16 +23,6 @@
#include <soc/smbus.h>
#include <southbridge/intel/common/smbus.h>
u8 smbus_read_byte(u32 smbus_dev, u8 addr, u8 offset)
{
return do_smbus_read_byte(SMBUS_BASE_ADDRESS, addr, offset);
}
u8 smbus_write_byte(u32 smbus_dev, u8 addr, u8 offset, u8 value)
{
return do_smbus_write_byte(SMBUS_BASE_ADDRESS, addr, offset, value);
}
int smbus_i2c_block_write(u8 addr, u8 bytes, u8 *buf)
{
#ifdef __SIMPLE_DEVICE__