summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdk8
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-10-16 08:38:58 +0000
committerEric Biederman <ebiederm@xmission.com>2004-10-16 08:38:58 +0000
commitf3ed1cfad748bf5610d315afba7ec04d6338bd9b (patch)
tree53c56bca5bc651c1e4f129c49d6083033f8273bf /src/northbridge/amd/amdk8
parent7003ba4a88a847707c55d593e517eaa70fc8c63d (diff)
- HDAMA boots!
- Set the bootstrap processor flag in the mptable. - Implement 64bit support in our print statements - Fix the reporting of how many cpus we are waiting to stop. It is the 1 less than the actual number of cpus running. - Actually enable cpu_initialization. - Fix firstsiblingdevice in config.g - Add IORESOURCE_FIXED to all of the resources set by config.g - Fix the apic_cluster rule to add an apic_cluster path not an apic path. - Add a div64.h to assist in the 64bit printf. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1682 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/amdk8')
-rw-r--r--src/northbridge/amd/amdk8/northbridge.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/northbridge/amd/amdk8/northbridge.c b/src/northbridge/amd/amdk8/northbridge.c
index cb2f9fa0a7..ca5dcd82a3 100644
--- a/src/northbridge/amd/amdk8/northbridge.c
+++ b/src/northbridge/amd/amdk8/northbridge.c
@@ -598,7 +598,7 @@ static void pci_domain_set_resources(device_t dev)
mem1->base = resource_max(mem1);
}
-#if 1
+#if 0
printk_debug("base1: 0x%08Lx limit1: 0x%08lx size: 0x%08Lx\n",
mem1->base, mem1->limit, mem1->size);
printk_debug("base2: 0x%08Lx limit2: 0x%08Lx size: 0x%08Lx\n",
@@ -702,7 +702,7 @@ static struct device_operations pci_domain_ops = {
.scan_bus = pci_domain_scan_bus,
};
-static unsigned int scan_cpu_bus(device_t dev, unsigned int max)
+static unsigned int cpu_bus_scan(device_t dev, unsigned int max)
{
struct bus *cpu_bus;
unsigned reg;
@@ -750,18 +750,19 @@ static unsigned int scan_cpu_bus(device_t dev, unsigned int max)
static void cpu_bus_init(device_t dev)
{
- printk_debug("cpu_bus_init\n");
-#if 0
initialize_cpus(&dev->link[0]);
-#endif
+}
+
+static void cpu_bus_noop(device_t dev)
+{
}
static struct device_operations cpu_bus_ops = {
- .read_resources = 0,
- .set_resources = 0,
- .enable_resources = 0,
+ .read_resources = cpu_bus_noop,
+ .set_resources = cpu_bus_noop,
+ .enable_resources = cpu_bus_noop,
.init = cpu_bus_init,
- .scan_bus = scan_cpu_bus,
+ .scan_bus = cpu_bus_scan,
};
static void enable_dev(struct device *dev)