diff options
-rw-r--r-- | src/southbridge/amd/cs5536/smbus.c | 3 | ||||
-rw-r--r-- | src/southbridge/amd/cs5536/smbus.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/southbridge/amd/cs5536/smbus.c b/src/southbridge/amd/cs5536/smbus.c index f6b187e523..5373824587 100644 --- a/src/southbridge/amd/cs5536/smbus.c +++ b/src/southbridge/amd/cs5536/smbus.c @@ -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) diff --git a/src/southbridge/amd/cs5536/smbus.h b/src/southbridge/amd/cs5536/smbus.h index cbfa7b2baa..0dd2fc5bb8 100644 --- a/src/southbridge/amd/cs5536/smbus.h +++ b/src/southbridge/amd/cs5536/smbus.h @@ -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); |