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:
Myles Watson
2009-10-30 02:08:07 +00:00
parent 8f6354b6d3
commit 7943fe61df
24 changed files with 81 additions and 107 deletions

View File

@@ -19,4 +19,6 @@
#include <arch/cpu.h>
int init_processor_name(void);
/* place holder for Family 10 revision code */

View File

@@ -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)
{

View File

@@ -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 */

View File

@@ -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);