Eliminate SET_NB_CFG_54 option. There was no board that
deselected it, and very likely there won't ever be any hardware that requires it deselected. Keep the "selected" code path around, leading to no functional change. Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Scott Duplichan <scott@notabs.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6086 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Patrick Georgi
parent
361bd10bce
commit
d28c2986d6
@ -1,10 +1,5 @@
|
||||
/* 2004.12 yhlu add dual core support */
|
||||
|
||||
|
||||
#ifndef SET_NB_CFG_54
|
||||
#define SET_NB_CFG_54 1
|
||||
#endif
|
||||
|
||||
#include "cpu/amd/dualcore/dualcore_id.c"
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#if CONFIG_HAVE_OPTION_TABLE
|
||||
@ -20,7 +15,6 @@ static inline unsigned get_core_num_in_bsp(unsigned nodeid)
|
||||
return dword;
|
||||
}
|
||||
|
||||
#if SET_NB_CFG_54 == 1
|
||||
static inline uint8_t set_apicid_cpuid_lo(void)
|
||||
{
|
||||
#if CONFIG_K8_REV_F_SUPPORT == 0
|
||||
@ -35,11 +29,6 @@ static inline uint8_t set_apicid_cpuid_lo(void)
|
||||
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
|
||||
static inline void set_apicid_cpuid_lo(void) { }
|
||||
|
||||
#endif
|
||||
|
||||
static inline void real_start_other_core(unsigned nodeid)
|
||||
{
|
||||
|
@ -24,10 +24,6 @@
|
||||
#include "option_table.h"
|
||||
#endif
|
||||
|
||||
#ifndef SET_NB_CFG_54
|
||||
#define SET_NB_CFG_54 1
|
||||
#endif
|
||||
|
||||
#include "cpu/amd/quadcore/quadcore_id.c"
|
||||
|
||||
static u32 get_core_num_in_bsp(u32 nodeid)
|
||||
@ -43,7 +39,6 @@ static u32 get_core_num_in_bsp(u32 nodeid)
|
||||
return dword;
|
||||
}
|
||||
|
||||
#if SET_NB_CFG_54 == 1
|
||||
static u8 set_apicid_cpuid_lo(void)
|
||||
{
|
||||
// set the NB_CFG[54]=1; why the OS will be happy with that ???
|
||||
@ -54,12 +49,6 @@ static u8 set_apicid_cpuid_lo(void)
|
||||
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
|
||||
static void set_apicid_cpuid_lo(void) { }
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static void real_start_other_core(u32 nodeid, u32 cores)
|
||||
{
|
||||
|
Reference in New Issue
Block a user