diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-04-30 17:11:03 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-04-30 17:11:03 +0000 |
commit | ad894c54492781253cb7e01373a9d5d2f039f753 (patch) | |
tree | e98b3f5714627d152a5eaa64b053340e28299ab1 /src/southbridge | |
parent | 636d9244259a86afd5af64268c5f6ab660d522fa (diff) | |
download | coreboot-ad894c54492781253cb7e01373a9d5d2f039f753.tar.xz |
Get rid of a few more warnings.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/intel/esb6300/esb6300_smbus.h | 2 | ||||
-rw-r--r-- | src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/southbridge/intel/esb6300/esb6300_smbus.h b/src/southbridge/intel/esb6300/esb6300_smbus.h index e7a0d5c711..4f4ec5c999 100644 --- a/src/southbridge/intel/esb6300/esb6300_smbus.h +++ b/src/southbridge/intel/esb6300/esb6300_smbus.h @@ -14,6 +14,8 @@ #define SMBUS_TIMEOUT (100*1000*10) +#include <delay.h> + static int smbus_wait_until_ready(unsigned smbus_io_base) { unsigned loops = SMBUS_TIMEOUT; diff --git a/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c b/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c index 60337d1635..fb84f5a36d 100644 --- a/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c +++ b/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c @@ -19,9 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -static int set_ht_link_buffer_counts_chain(uint8_t ht_c_num, unsigned vendorid, unsigned val); #ifdef UNUSED_CODE +int set_ht_link_buffer_counts_chain(uint8_t ht_c_num, unsigned vendorid, unsigned val); + static int set_ht_link_mcp55(uint8_t ht_c_num) { unsigned vendorid = 0x10de; |