diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2004-11-05 22:03:37 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2004-11-05 22:03:37 +0000 |
commit | 44b34e31a54519fe00658cf9e0ebb6a5b01a3702 (patch) | |
tree | 3f254b55398ccaaf81c91095bf2fe20685c13478 /src/northbridge/amd/amdk8/northbridge.c | |
parent | 7a9c836f93de8373c122d483894599b3eaf4b151 (diff) |
CONFIG_CHIP_NAME to control config chip.h without .name
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1764 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/amdk8/northbridge.c')
-rw-r--r-- | src/northbridge/amd/amdk8/northbridge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/northbridge.c b/src/northbridge/amd/amdk8/northbridge.c index c58226915e..85f8fe4e86 100644 --- a/src/northbridge/amd/amdk8/northbridge.c +++ b/src/northbridge/amd/amdk8/northbridge.c @@ -488,12 +488,15 @@ static struct pci_driver mcf0_driver __pci_driver = { .device = 0x1100, }; +#if CONFIG_CHIP_NAME == 1 struct chip_operations northbridge_amd_amdk8_ops = { CHIP_NAME("AMD K8 Northbridge") .enable_dev = 0, }; +#endif + static void pci_domain_read_resources(device_t dev) { struct resource *resource; |