summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-30 02:08:07 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-30 02:08:07 +0000
commit7943fe61df9e72721a8ceddb0120e4826552d5f9 (patch)
tree21073df83a4ff79a90ddb6fc8ed534a5ccde11aa /src/include
parent8f6354b6d3d00a7041f3c770569e797da74acd04 (diff)
downloadcoreboot-7943fe61df9e72721a8ceddb0120e4826552d5f9.tar.xz
Remove some warnings from the tyan s2895.
Declare superio functions to be static and remove duplicates. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4890 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/amd/model_10xxx_rev.h2
-rw-r--r--src/include/cpu/amd/model_fxx_rev.h2
-rw-r--r--src/include/cpu/cpu.h11
-rw-r--r--src/include/delay.h2
4 files changed, 16 insertions, 1 deletions
diff --git a/src/include/cpu/amd/model_10xxx_rev.h b/src/include/cpu/amd/model_10xxx_rev.h
index b5092a0768..6bc3b2f308 100644
--- a/src/include/cpu/amd/model_10xxx_rev.h
+++ b/src/include/cpu/amd/model_10xxx_rev.h
@@ -19,4 +19,6 @@
#include <arch/cpu.h>
+int init_processor_name(void);
+
/* place holder for Family 10 revision code */
diff --git a/src/include/cpu/amd/model_fxx_rev.h b/src/include/cpu/amd/model_fxx_rev.h
index c36f35304b..a3f3033b28 100644
--- a/src/include/cpu/amd/model_fxx_rev.h
+++ b/src/include/cpu/amd/model_fxx_rev.h
@@ -1,5 +1,7 @@
#include <arch/cpu.h>
+int init_processor_name(void);
+
#if CONFIG_K8_REV_F_SUPPORT == 0
static inline int is_cpu_rev_a0(void)
{
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index 468af24850..053e319d17 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -7,6 +7,17 @@ struct bus;
void cpu_initialize(void);
void initialize_cpus(struct bus *cpu_bus);
+void secondary_cpu_init(void);
+
+#if CONFIG_WAIT_BEFORE_CPUS_INIT==0
+ #define cpus_ready_for_init() do {} while(0)
+#else
+ void cpus_ready_for_init(void);
+#endif
+
+#if CONFIG_HAVE_SMI_HANDLER
+void smm_init(void);
+#endif
#define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver")))
/** start of compile time generated pci driver array */
diff --git a/src/include/delay.h b/src/include/delay.h
index bae75d34bf..175cdaaa29 100644
--- a/src/include/delay.h
+++ b/src/include/delay.h
@@ -1,6 +1,6 @@
#ifndef DELAY_H
#define DELAY_H
-#if !defined( __ROMCC__) && defined (__GNUC__)
+#if !defined( __ROMCC__)
void udelay(unsigned usecs);
void mdelay(unsigned msecs);