diff options
author | Stefan Reinauer <stepan@openbios.org> | 2004-10-21 18:51:13 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2004-10-21 18:51:13 +0000 |
commit | 800a55bb5c2c8e03c3039cf4f1e6163a2fce8f54 (patch) | |
tree | fcbb28c5e0e0ed51c128d258e413a72297db3f01 /src/mainboard/amd/solo/mainboard.c | |
parent | a49f4161f5631760309ba47b925183736a754717 (diff) |
get solo building after last infrastructure changes
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1700 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd/solo/mainboard.c')
-rw-r--r-- | src/mainboard/amd/solo/mainboard.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/mainboard/amd/solo/mainboard.c b/src/mainboard/amd/solo/mainboard.c index 155231b41c..12eeb6b537 100644 --- a/src/mainboard/amd/solo/mainboard.c +++ b/src/mainboard/amd/solo/mainboard.c @@ -9,7 +9,26 @@ #include "../../../northbridge/amd/amdk8/northbridge.h" #include "chip.h" +static void mainboard_init(device_t dev) +{ + root_dev_init(dev); +} -struct chip_operations mainboard_amd_solo_control = { +static struct device_operations mainboard_operations = { + .read_resources = root_dev_read_resources, + .set_resources = root_dev_set_resources, + .enable_resources = root_dev_enable_resources, + .init = mainboard_init, + .scan_bus = root_dev_scan_bus, + .enable = 0, +}; + +static void enable_dev(struct device *dev) +{ + dev->ops = &mainboard_operations; +} + +struct chip_operations mainboard_amd_solo_ops = { .name = "AMD Solo7 mainboard ", + .enable_dev = enable_dev, }; |