AMD Geode: Move conflicting mainboard_romstage_entry()
The silicon specific mainboard_romstage_entry() in amd/cpu/car.h, which is used by all AMD silicon car code, caused a conflict. Move the silicon specific defines to silicon header files. Also, no longer include car.h in the romstage file. Change-Id: Icfc759c4c93c8dfff76f5ef9a1a985dd704cfe94 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/18769 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
d06c51895e
commit
4aad421e81
|
@ -3,8 +3,6 @@
|
|||
|
||||
#include <arch/cpu.h>
|
||||
|
||||
void asmlinkage mainboard_romstage_entry(unsigned long bist);
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx);
|
||||
void done_cache_as_ram_main(void);
|
||||
void post_cache_as_ram(void);
|
||||
|
|
|
@ -528,6 +528,7 @@
|
|||
#if defined(__PRE_RAM__)
|
||||
void cpuRegInit(void);
|
||||
void SystemPreInit(void);
|
||||
void asmlinkage mainboard_romstage_entry(unsigned long bist);
|
||||
#endif
|
||||
void cpubug(void);
|
||||
#endif
|
||||
|
|
|
@ -647,6 +647,7 @@
|
|||
#if defined(__PRE_RAM__)
|
||||
void cpuRegInit(int debug_clock_disable, u8 dimm0, u8 dimm1, int terminated);
|
||||
void SystemPreInit(void);
|
||||
void asmlinkage mainboard_romstage_entry(unsigned long bist);
|
||||
#endif
|
||||
void cpubug(void);
|
||||
#endif
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <superio/winbond/w83627hf/w83627hf.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/gx2def.h>
|
||||
#include <spd.h>
|
||||
#include "southbridge/amd/cs5536/early_smbus.c"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include "spd_table.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
#include "southbridge/amd/cs5536/early_smbus.c"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <southbridge/amd/cs5536/early_smbus.c>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <superio/winbond/w83627hf/w83627hf.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/gx2def.h>
|
||||
#include <southbridge/amd/cs5535/cs5535.h>
|
||||
#include "southbridge/amd/cs5535/early_smbus.c"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include "southbridge/amd/cs5536/early_smbus.c"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <console/console.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include "southbridge/amd/cs5536/early_smbus.c"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <lib.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <lib.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <lib.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include <lib.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/lxdef.h>
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
#include <spd.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <lib.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include <cpu/amd/gx2def.h>
|
||||
#include <spd.h>
|
||||
#include "southbridge/amd/cs5536/early_smbus.c"
|
||||
|
|
Loading…
Reference in New Issue