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:
parent
59c3a06154
commit
95b573a2db
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue