diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-06-15 23:55:55 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-06-15 23:55:55 +0000 |
commit | 99efe80122395187dbb83b76980c4f0a7539bc3c (patch) | |
tree | 3c990d27649f1f780a8f74b96057b7389cf7d5c4 /src/mainboard/amd/quartet/mainboard.c | |
parent | 6ae2ac37396e555041c382bef9d6ee060d2df542 (diff) | |
download | coreboot-99efe80122395187dbb83b76980c4f0a7539bc3c.tar.xz |
add support for AMD Serenade mainboard, why we have phantom devices here?
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1607 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd/quartet/mainboard.c')
-rw-r--r-- | src/mainboard/amd/quartet/mainboard.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mainboard/amd/quartet/mainboard.c b/src/mainboard/amd/quartet/mainboard.c index 6c4d435ee1..917a2ac792 100644 --- a/src/mainboard/amd/quartet/mainboard.c +++ b/src/mainboard/amd/quartet/mainboard.c @@ -1,4 +1,3 @@ - #include <console/console.h> #include <device/device.h> #include <device/pci.h> @@ -10,7 +9,6 @@ #include "../../../northbridge/amd/amdk8/northbridge.h" #include "chip.h" - unsigned long initial_apicid[CONFIG_MAX_CPUS] = { 0, 1, 2, 3, @@ -28,15 +26,20 @@ static struct device_operations mainboard_operations = { static void enumerate(struct chip *chip) { struct chip *child; + + if (chip->control && chip->control->name) { + printk_debug("Enumerating: %s\n", chip->control->name); + } + dev_root.ops = &mainboard_operations; chip->dev = &dev_root; chip->bus = 0; - for(child = chip->children; child; child = child->next) { + for (child = chip->children; child; child = child->next) { child->bus = &dev_root.link[0]; } } + struct chip_control mainboard_amd_quartet_control = { .enumerate = enumerate, .name = "AMD Quartet mainboard ", }; - |