AMD Southbridge CS5536: make use of #include <device/smbus_def.h>

Change-Id: Ia2dff49d3e2b086546785d992f2d92bcf4d1ef1c
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-on: http://review.coreboot.org/3376
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Christian Gmeiner 2013-06-05 16:40:34 +02:00 committed by Patrick Georgi
parent 59c3a06154
commit 95b573a2db
2 changed files with 2 additions and 3 deletions

View File

@ -22,9 +22,6 @@
#include "cs5536.h"
#include "smbus.h"
#define SMBUS_ERROR -1
#define SMBUS_WAIT_UNTIL_READY_TIMEOUT -2
#define SMBUS_WAIT_UNTIL_DONE_TIMEOUT -3
#define SMBUS_TIMEOUT (1000)
static void smbus_delay(void)

View File

@ -20,6 +20,8 @@
#ifndef _CS5536_SMBUS_H
#define _CS5536_SMBUS_H
#include <device/smbus_def.h>
int smbus_start_condition(unsigned smbus_io_base);
int smbus_stop_condition(unsigned smbus_io_base);
int smbus_check_stop_condition(unsigned smbus_io_base);