diff options
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/amd/amdfam10/debug.c | 4 | ||||
-rw-r--r-- | src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/northbridge/amd/amdfam10/debug.c b/src/northbridge/amd/amdfam10/debug.c index 328de7e289..a7007357c0 100644 --- a/src/northbridge/amd/amdfam10/debug.c +++ b/src/northbridge/amd/amdfam10/debug.c @@ -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 @@ static inline void dump_io_resources(u32 port) { int i; - udelay_tsc(2000); + udelay(2000); printk(BIOS_DEBUG, "%04x:\n", port); for(i=0;i<256;i++) { u8 val; diff --git a/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c b/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c index a7a69b338c..b79448ec14 100644 --- a/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c +++ b/src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c @@ -42,7 +42,7 @@ static void wait_till_sysinfo_in_ram(void) /* 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; } } |