AMD boards: Fix includes for microcode updates
No ROMCC involved, no need to include .c files in romstage.c. Change-Id: I8a2aaf84276f2931d0a0557ba29e359fa06e2fba Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4501 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
299c265102
commit
f0a13ceb63
|
@ -1 +1,2 @@
|
|||
ramstage-y += microcode.c
|
||||
romstage-$(CONFIG_UPDATE_CPU_MICROCODE) += microcode.c
|
||||
|
|
|
@ -17,17 +17,10 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef __ROMCC__
|
||||
#include <stdint.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/microcode.h>
|
||||
#endif
|
||||
|
||||
#ifndef __PRE_RAM__
|
||||
#include <cpu/cpu.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
#endif
|
||||
|
||||
struct microcode {
|
||||
u32 date_code;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
ramstage-y += model_10xxx_init.c
|
||||
ramstage-$(CONFIG_UPDATE_CPU_MICROCODE) += update_microcode.c
|
||||
ramstage-y += processor_name.c
|
||||
|
||||
romstage-$(CONFIG_UPDATE_CPU_MICROCODE) += update_microcode.c
|
||||
|
|
|
@ -325,9 +325,8 @@ static u32 init_cpus(u32 cpu_init_detectedx)
|
|||
* This happens after HTinit.
|
||||
* The BSP runs this code in it's own path.
|
||||
*/
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(cpuid_eax(1));
|
||||
#endif
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
||||
#if CONFIG_SET_FIDVID
|
||||
|
|
|
@ -17,17 +17,9 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __PRE_RAM__
|
||||
#include <stdint.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifndef __ROMCC__
|
||||
#include <cpu/amd/microcode.h>
|
||||
#endif
|
||||
|
||||
static const u8 microcode_updates[] __attribute__ ((aligned(16))) = {
|
||||
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <string.h>
|
||||
#include <cpu/amd/microcode.h>
|
||||
|
||||
static uint8_t microcode_updates[] __attribute__ ((aligned(16))) = {
|
||||
|
|
|
@ -2,7 +2,12 @@
|
|||
#define CPU_AMD_MICROCODE_H
|
||||
|
||||
void amd_update_microcode(void *microcode_updates, unsigned processor_rev_id);
|
||||
void update_microcode(u32 processor_rev_id);
|
||||
void model_fxx_update_microcode(unsigned cpu_deviceid);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
void update_microcode(u32 processor_rev_id);
|
||||
#else
|
||||
#define update_microcode(x)
|
||||
#endif
|
||||
#endif /* CPU_AMD_MICROCODE_H */
|
||||
|
||||
|
|
|
@ -65,10 +65,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
#include "spd.h"
|
||||
|
@ -126,9 +123,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -64,11 +64,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -124,9 +120,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -64,11 +64,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -120,9 +116,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -85,11 +85,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -228,9 +224,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -63,11 +63,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -120,9 +116,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -63,11 +63,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -121,9 +117,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -63,11 +63,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -121,9 +117,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -65,10 +65,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
#include "spd.h"
|
||||
|
@ -125,9 +122,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -65,10 +65,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
#include "spd.h"
|
||||
|
@ -126,9 +123,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -59,11 +59,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -116,9 +112,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -59,11 +59,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -116,9 +112,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -63,11 +63,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -119,9 +115,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -79,11 +79,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "northbridge/amd/amdfam10/pci.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -137,9 +133,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -65,11 +65,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -122,9 +118,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -70,11 +70,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -127,9 +123,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -72,11 +72,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -147,9 +143,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -65,11 +65,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -144,9 +140,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -71,11 +71,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -197,9 +193,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -65,11 +65,7 @@ static int spd_read_byte(u32 device, u32 address)
|
|||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
#include <spd.h>
|
||||
|
@ -143,9 +139,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
|
@ -73,11 +73,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
#include "southbridge/nvidia/mcp55/early_setup_ss.h"
|
||||
#include "southbridge/nvidia/mcp55/early_setup_car.c"
|
||||
#include "cpu/amd/car/post_cache_as_ram.c"
|
||||
#include "cpu/amd/microcode/microcode.c"
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
#include "cpu/amd/model_10xxx/update_microcode.c"
|
||||
#endif
|
||||
#include "cpu/amd/microcode.h"
|
||||
|
||||
#include "cpu/amd/model_10xxx/init_cpus.c"
|
||||
#include "northbridge/amd/amdfam10/early_ht.c"
|
||||
|
@ -147,9 +143,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
/* Setup sysinfo defaults */
|
||||
set_sysinfo_in_ram(0);
|
||||
|
||||
#if CONFIG_UPDATE_CPU_MICROCODE
|
||||
update_microcode(val);
|
||||
#endif
|
||||
|
||||
post_code(0x33);
|
||||
|
||||
cpuSetAMDMSR();
|
||||
|
|
Loading…
Reference in New Issue