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
This commit is contained in:
Yinghai Lu
2004-11-05 22:03:37 +00:00
parent 7a9c836f93
commit 44b34e31a5
28 changed files with 338 additions and 258 deletions

View File

@@ -1,3 +1,9 @@
#config chip.h
#object socket_940.o
uses CONFIG_CHIP_NAME
if CONFIG_CHIP_NAME
config chip.h
end
object socket_940.o
dir /cpu/amd/model_fxx

View File

@@ -1,7 +1,8 @@
#include <device/device.h>
#include "chip.h"
#if CONFIG_CHIP_NAME == 1
struct chip_operations cpu_amd_socket_940_ops = {
CHIP_NAME("socket 940")
};
#endif