diff options
Diffstat (limited to 'src/mainboard/tyan/s2881')
-rw-r--r-- | src/mainboard/tyan/s2881/Config.lb | 4 | ||||
-rw-r--r-- | src/mainboard/tyan/s2881/mainboard.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/tyan/s2881/Config.lb b/src/mainboard/tyan/s2881/Config.lb index 17dcc90fa4..552324bc67 100644 --- a/src/mainboard/tyan/s2881/Config.lb +++ b/src/mainboard/tyan/s2881/Config.lb @@ -122,7 +122,9 @@ mainboardinit cpu/x86/mmx/disable_mmx.inc ## Include the secondary Configuration files ## dir /pc80 -config chip.h +if CONFIG_CHIP_NAME + config chip.h +end # sample config for tyan/s2881 chip northbridge/amd/amdk8/root_complex diff --git a/src/mainboard/tyan/s2881/mainboard.c b/src/mainboard/tyan/s2881/mainboard.c index fb9b9c8b8a..e96bd39051 100644 --- a/src/mainboard/tyan/s2881/mainboard.c +++ b/src/mainboard/tyan/s2881/mainboard.c @@ -5,6 +5,8 @@ #include <device/pci_ops.h> #include "chip.h" +#if CONFIG_CHIP_NAME == 1 struct chip_operations mainboard_tyan_s2881_ops = { CHIP_NAME("Tyan s2881 mainboard") }; +#endif |