summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s2882
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2004-11-05 22:03:37 +0000
committerYinghai Lu <yinghailu@gmail.com>2004-11-05 22:03:37 +0000
commit44b34e31a54519fe00658cf9e0ebb6a5b01a3702 (patch)
tree3f254b55398ccaaf81c91095bf2fe20685c13478 /src/mainboard/tyan/s2882
parent7a9c836f93de8373c122d483894599b3eaf4b151 (diff)
downloadcoreboot-44b34e31a54519fe00658cf9e0ebb6a5b01a3702.tar.xz
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/mainboard/tyan/s2882')
-rw-r--r--src/mainboard/tyan/s2882/Config.lb4
-rw-r--r--src/mainboard/tyan/s2882/mainboard.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/tyan/s2882/Config.lb b/src/mainboard/tyan/s2882/Config.lb
index 7db07ad5e4..955432b05e 100644
--- a/src/mainboard/tyan/s2882/Config.lb
+++ b/src/mainboard/tyan/s2882/Config.lb
@@ -121,7 +121,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/s2882
chip northbridge/amd/amdk8/root_complex
diff --git a/src/mainboard/tyan/s2882/mainboard.c b/src/mainboard/tyan/s2882/mainboard.c
index a910114263..8ad4bec92c 100644
--- a/src/mainboard/tyan/s2882/mainboard.c
+++ b/src/mainboard/tyan/s2882/mainboard.c
@@ -5,6 +5,8 @@
#include <device/pci_ops.h>
#include "chip.h"
+#if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_tyan_s2882_ops = {
CHIP_NAME("Tyan s2882 mainboard")
};
+#endif