diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-10-30 02:08:07 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-10-30 02:08:07 +0000 |
commit | 7943fe61df9e72721a8ceddb0120e4826552d5f9 (patch) | |
tree | 21073df83a4ff79a90ddb6fc8ed534a5ccde11aa /src/include/cpu | |
parent | 8f6354b6d3d00a7041f3c770569e797da74acd04 (diff) |
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/cpu')
-rw-r--r-- | src/include/cpu/amd/model_10xxx_rev.h | 2 | ||||
-rw-r--r-- | src/include/cpu/amd/model_fxx_rev.h | 2 | ||||
-rw-r--r-- | src/include/cpu/cpu.h | 11 |
3 files changed, 15 insertions, 0 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 */ |