summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-14 15:44:21 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-14 15:44:21 +0000
commit2d85fbed162c8c3ad017a1505faa9ee3c59e5ccc (patch)
tree12f13bfe8c9c5084094ba1e46733667869279002 /src/northbridge
parent71ed353ae25e77bfafd6a2a5ec09cf39e3f36f7e (diff)
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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5429 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdfam10/debug.c4
-rw-r--r--src/northbridge/amd/amdfam10/raminit_sysinfo_in_ram.c2
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;
}
}