Author: stepan Date: Wed Apr 14 17:44:21 2010 New Revision: 5429 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5429
Log: udelay_tsc does not exist in the whole tree. Neither does quadcore.h (anymore)
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c trunk/src/northbridge/amd/amdfam10/debug.c trunk/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c
Modified: trunk/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c Wed Apr 14 16:41:30 2010 (r5428) +++ trunk/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c Wed Apr 14 17:44:21 2010 (r5429) @@ -25,7 +25,7 @@ #include <string.h> #include <stdint.h> #if CONFIG_LOGICAL_CPUS==1 -#include <cpu/amd/quadcore.h> +#include <cpu/amd/multicore.h> #endif
#include <cpu/amd/amdfam10_sysconf.h>
Modified: trunk/src/northbridge/amd/amdfam10/debug.c ============================================================================== --- trunk/src/northbridge/amd/amdfam10/debug.c Wed Apr 14 16:41:30 2010 (r5428) +++ trunk/src/northbridge/amd/amdfam10/debug.c Wed Apr 14 17:44:21 2010 (r5429) @@ -23,8 +23,6 @@
#include "amdfam10_pci.c"
-static void udelay_tsc(u32 us); - static inline void print_debug_addr(const char *str, void *val) { #if CACHE_AS_RAM_ADDRESS_DEBUG == 1 @@ -296,7 +294,7 @@ {
int i; - udelay_tsc(2000); + udelay(2000); printk(BIOS_DEBUG, "%04x:\n", port); for(i=0;i<256;i++) { u8 val;
Modified: trunk/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c ============================================================================== --- trunk/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c Wed Apr 14 16:41:30 2010 (r5428) +++ trunk/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c Wed Apr 14 17:44:21 2010 (r5429) @@ -42,7 +42,7 @@ /* give the NB a break, many CPUs spinning on one bit makes a * lot of traffic and time is not too important to APs. */ - udelay_tsc(1000); + udelay(1000); if(get_htic_bit(0, 9)) return; } }