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
This commit is contained in:
@@ -19,4 +19,6 @@
|
||||
|
||||
#include <arch/cpu.h>
|
||||
|
||||
int init_processor_name(void);
|
||||
|
||||
/* place holder for Family 10 revision code */
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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 */
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user