r4097 broke the tree and it remains unfixed :-(

Repeat: Cosmetic patches shall not break the tree for 20 revisions.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4116 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2009-04-15 06:00:01 +00:00 committed by Stefan Reinauer
parent 57f6c08837
commit 82144571ad
5 changed files with 21 additions and 5 deletions

View File

@ -47,8 +47,9 @@ static inline unsigned get_core_num(void)
return (cpuid_ecx(0x80000008) & 0xff);
}
static inline struct node_core_id get_node_core_id_x(void) {
static inline struct node_core_id get_node_core_id_x(void)
{
return get_node_core_id( read_nb_cfg_54() ); // for pre_e0() nb_cfg_54 always be 0
return get_node_core_id(read_nb_cfg_54()); // for pre_e0() nb_cfg_54 always be 0
}

View File

@ -72,8 +72,8 @@ static u32 get_core_num(void)
return (cpuid_ecx(0x80000008) & 0xff);
}
static struct node_core_id get_node_core_id_x(void) {
return get_node_core_id( read_nb_cfg_54() );
static struct node_core_id get_node_core_id_x(void)
{
return get_node_core_id(read_nb_cfg_54());
}

View File

@ -62,6 +62,11 @@ static void post_code(uint8_t value) {
#include "northbridge/amd/amdk8/amdk8_f_pci.c"
#include "northbridge/amd/amdk8/raminit_f_dqs.c"
static inline unsigned get_nodes(void)
{
return ((pci_read_config32(PCI_DEV(0, 0x18, 0), 0x60)>>4) & 7) + 1;
}
#include "cpu/amd/dualcore/dualcore.c"
void hardwaremain(int ret_addr)

View File

@ -82,6 +82,11 @@ static void post_code(uint8_t value) {
#include "northbridge/amd/amdk8/amdk8_f_pci.c"
#include "northbridge/amd/amdk8/raminit_f_dqs.c"
static inline unsigned get_nodes(void)
{
return ((pci_read_config32(PCI_DEV(0, 0x18, 0), 0x60)>>4) & 7) + 1;
}
#include "cpu/amd/dualcore/dualcore.c"
void hardwaremain(int ret_addr)

View File

@ -82,6 +82,11 @@ static void post_code(uint8_t value) {
#include "northbridge/amd/amdk8/amdk8_f_pci.c"
#include "northbridge/amd/amdk8/raminit_f_dqs.c"
static inline unsigned get_nodes(void)
{
return ((pci_read_config32(PCI_DEV(0, 0x18, 0), 0x60)>>4) & 7) + 1;
}
#include "cpu/amd/dualcore/dualcore.c"
void hardwaremain(int ret_addr)