summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-07-08 00:37:23 +0000
committerStefan Reinauer <stepan@openbios.org>2010-07-08 00:37:23 +0000
commit817d7542f708215c4128b6cdc39ca7d7e1256b26 (patch)
tree596110d1ac02584dab0e8149011e85d5af37e610 /src/southbridge/amd
parent5e33e827083abe332cf404793d33fa2152a95bab (diff)
get rid of even more fam10 and k8 warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5659 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/amd8111/amd8111.h4
-rw-r--r--src/southbridge/amd/amd8111/amd8111_early_ctrl.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/amd/amd8111/amd8111.h b/src/southbridge/amd/amd8111/amd8111.h
index da4fa1d840..e877f2a13b 100644
--- a/src/southbridge/amd/amd8111/amd8111.h
+++ b/src/southbridge/amd/amd8111/amd8111.h
@@ -5,4 +5,8 @@
void amd8111_enable(device_t dev);
+#ifdef __PRE_RAM__
+void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn);
+#endif
+
#endif /* AMD8111_H */
diff --git a/src/southbridge/amd/amd8111/amd8111_early_ctrl.c b/src/southbridge/amd/amd8111/amd8111_early_ctrl.c
index 0365662d58..ece99ed40a 100644
--- a/src/southbridge/amd/amd8111/amd8111_early_ctrl.c
+++ b/src/southbridge/amd/amd8111/amd8111_early_ctrl.c
@@ -1,3 +1,4 @@
+#include "amd8111.h"
#include <reset.h>
/* by yhlu 2005.10 */
@@ -45,7 +46,7 @@ void hard_reset(void)
outb(0x0e, 0x0cf9); // make sure cf9 is enabled
}
-static void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn)
+void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn)
{
device_t dev;