From f3ed1cfad748bf5610d315afba7ec04d6338bd9b Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Sat, 16 Oct 2004 08:38:58 +0000 Subject: - 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 --- src/northbridge/amd/amdk8/northbridge.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/northbridge') 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) -- cgit v1.2.3