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
This commit is contained in:
parent
71ed353ae2
commit
2d85fbed16
@ -25,7 +25,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#if CONFIG_LOGICAL_CPUS==1
|
#if CONFIG_LOGICAL_CPUS==1
|
||||||
#include <cpu/amd/quadcore.h>
|
#include <cpu/amd/multicore.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cpu/amd/amdfam10_sysconf.h>
|
#include <cpu/amd/amdfam10_sysconf.h>
|
||||||
|
@ -23,8 +23,6 @@
|
|||||||
|
|
||||||
#include "amdfam10_pci.c"
|
#include "amdfam10_pci.c"
|
||||||
|
|
||||||
static void udelay_tsc(u32 us);
|
|
||||||
|
|
||||||
static inline void print_debug_addr(const char *str, void *val)
|
static inline void print_debug_addr(const char *str, void *val)
|
||||||
{
|
{
|
||||||
#if CACHE_AS_RAM_ADDRESS_DEBUG == 1
|
#if CACHE_AS_RAM_ADDRESS_DEBUG == 1
|
||||||
@ -296,7 +294,7 @@ static inline void dump_io_resources(u32 port)
|
|||||||
{
|
{
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
udelay_tsc(2000);
|
udelay(2000);
|
||||||
printk(BIOS_DEBUG, "%04x:\n", port);
|
printk(BIOS_DEBUG, "%04x:\n", port);
|
||||||
for(i=0;i<256;i++) {
|
for(i=0;i<256;i++) {
|
||||||
u8 val;
|
u8 val;
|
||||||
|
@ -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
|
/* give the NB a break, many CPUs spinning on one bit makes a
|
||||||
* lot of traffic and time is not too important to APs.
|
* lot of traffic and time is not too important to APs.
|
||||||
*/
|
*/
|
||||||
udelay_tsc(1000);
|
udelay(1000);
|
||||||
if(get_htic_bit(0, 9)) return;
|
if(get_htic_bit(0, 9)) return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user