No warnings day, next round.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5359 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
233f186e95
commit
8f2c616dbc
@@ -91,7 +91,7 @@ static void set_pci_mmio_conf_reg(void)
|
||||
wrmsr(0xc0010058, msr); // MMIO Config Base Address Reg
|
||||
|
||||
//mtrr for that range?
|
||||
// set_var_mtrr_x(7, PCI_MMIO_BASE<<8, PCI_MMIO_BASE>>(32-8), 0x00000000, 0x01, MTRR_TYPE_UNCACHEABLE);
|
||||
// set_var_mtrr_x(7, PCI_MMIO_BASE<<8, PCI_MMIO_BASE>>(32-8), 0x00000000, 0x01, MTRR_TYPE_UNCACHEABLE);
|
||||
|
||||
set_wrap32dis();
|
||||
|
||||
@@ -293,7 +293,7 @@ static void enable_apic_ext_id(u32 node)
|
||||
}
|
||||
|
||||
|
||||
static void STOP_CAR_AND_CPU()
|
||||
static void STOP_CAR_AND_CPU(void)
|
||||
{
|
||||
msr_t msr;
|
||||
|
||||
@@ -529,7 +529,7 @@ static void setup_remote_node(u8 node)
|
||||
}
|
||||
#endif /* CONFIG_MAX_PHYSICAL_CPUS > 1 */
|
||||
|
||||
void AMD_Errata281(u8 node, u32 revision, u32 platform)
|
||||
static void AMD_Errata281(u8 node, u32 revision, u32 platform)
|
||||
{
|
||||
/* Workaround for Transaction Scheduling Conflict in
|
||||
* Northbridge Cross Bar. Implement XCS Token adjustment
|
||||
@@ -591,7 +591,7 @@ void AMD_Errata281(u8 node, u32 revision, u32 platform)
|
||||
}
|
||||
|
||||
|
||||
void AMD_Errata298(void)
|
||||
static void AMD_Errata298(void)
|
||||
{
|
||||
/* Workaround for L2 Eviction May Occur during operation to
|
||||
* set Accessed or dirty bit.
|
||||
|
@@ -244,7 +244,6 @@ static inline void clear_2M_ram(unsigned long basek, struct mtrr_state *mtrr_sta
|
||||
static void init_ecc_memory(unsigned node_id)
|
||||
{
|
||||
unsigned long startk, begink, endk;
|
||||
unsigned long hole_startk = 0;
|
||||
unsigned long basek;
|
||||
struct mtrr_state mtrr_state;
|
||||
|
||||
@@ -291,6 +290,8 @@ static void init_ecc_memory(unsigned node_id)
|
||||
endk = ((pci_read_config32(f1_dev, 0x44 + (node_id*8)) & 0xffff0000) >> 2) + 0x4000;
|
||||
|
||||
#if CONFIG_HW_MEM_HOLE_SIZEK != 0
|
||||
unsigned long hole_startk = 0;
|
||||
|
||||
#if CONFIG_K8_REV_F_SUPPORT == 0
|
||||
if (!is_cpu_pre_e0())
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@
|
||||
;* SetDelayControl
|
||||
;*
|
||||
;*************************************************************************/
|
||||
void SetDelayControl(void)
|
||||
static void SetDelayControl(void)
|
||||
{
|
||||
unsigned int msrnum, glspeed;
|
||||
unsigned char spdbyte0, spdbyte1;
|
||||
|
Reference in New Issue
Block a user