projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git]
/
src
/
mainboard
/
amd
/
serengeti_cheetah_fam10
/
apc_auto.c
diff --git
a/src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c
b/src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c
index 49dadd799a1887ad1a9ae255fe2f784f13355020..fbb8c14388f5e7e4cd309c0371d3523760abae3e 100644
(file)
--- a/
src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c
+++ b/
src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c
@@
-50,9
+50,9
@@
#include "lib/delay.c"
#if NODE_NUMS == 64
#include "lib/delay.c"
#if NODE_NUMS == 64
- #define NODE_PCI(x,fn) ((x<32)?PCI_DEV(C
BB,CDB+x,fn):PCI_DEV(CBB-1,
CDB+x-32, fn))
+ #define NODE_PCI(x,fn) ((x<32)?PCI_DEV(C
ONFIG_CBB,CONFIG_CDB+x,fn):PCI_DEV(CONFIG_CBB-1, CONFIG_
CDB+x-32, fn))
#else
#else
- #define NODE_PCI(x, fn) PCI_DEV(C
BB,
CDB+x,fn)
+ #define NODE_PCI(x, fn) PCI_DEV(C
ONFIG_CBB,CONFIG_
CDB+x,fn)
#endif
//#include "cpu/x86/lapic/boot_cpu.c"
#endif
//#include "cpu/x86/lapic/boot_cpu.c"
@@
-73,8
+73,8
@@
void hardwaremain(int ret_addr)
{
void hardwaremain(int ret_addr)
{
- struct sys_info *sysinfo = (
DCACHE_RAM_BASE + DCACHE_RAM_SIZE -
DCACHE_RAM_GLOBAL_VAR_SIZE); // in CACHE
- struct sys_info *sysinfox = ((CONFIG_LB_MEM_TOPK<<10) - DCACHE_RAM_GLOBAL_VAR_SIZE); // in RAM
+ struct sys_info *sysinfo = (
CONFIG_DCACHE_RAM_BASE + CONFIG_DCACHE_RAM_SIZE - CONFIG_
DCACHE_RAM_GLOBAL_VAR_SIZE); // in CACHE
+ struct sys_info *sysinfox = ((CONFIG_LB_MEM_TOPK<<10) -
CONFIG_
DCACHE_RAM_GLOBAL_VAR_SIZE); // in RAM
struct node_core_id id;
struct node_core_id id;