From a43048d371ad4bfaa7a53b3621770907b5d1879d Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Mon, 4 Aug 2003 21:05:19 +0000 Subject: Commits for the new config static device design, to allow more than one static cpu of a certain type and to eliminate the cpu p5 cpu p6 cpu k7 nonsense in the old config files. Next step is to hook into Eric's pci device stuff. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1067 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/arima/hdama/Config.lb | 17 ++++++++++------- src/mainboard/arima/hdama/mainboard.c | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 7 deletions(-) (limited to 'src/mainboard/arima') diff --git a/src/mainboard/arima/hdama/Config.lb b/src/mainboard/arima/hdama/Config.lb index a136eeca13..fb1f85a917 100644 --- a/src/mainboard/arima/hdama/Config.lb +++ b/src/mainboard/arima/hdama/Config.lb @@ -145,18 +145,21 @@ mainboardinit cpu/k8/disable_mmx_sse.inc ### northbridge amd/amdk8 end -southbridge amd/amd8111 +southbridge amd/amd8111 "amd8111" end -southbridge amd/amd8131 +southbridge amd/amd8131 "amd8131" end #mainboardinit archi386/smp/secondary.inc superio NSC/pc87360 register "com1" = "{1}" register "lpt" = "{1}" end -dir /pc80 +# dir /pc80 ##dir /src/superio/winbond/w83627hf -cpu p5 end -cpu p6 end -cpu k7 end -cpu k8 end +dir /cpu/k8 +cpu k8 "cpu0" + register "up" = "{.chip = &amd8111, .ht_width=8, .ht_speed=200}" +end + +cpu k8 "cpu1" +end diff --git a/src/mainboard/arima/hdama/mainboard.c b/src/mainboard/arima/hdama/mainboard.c index 2118e83927..2b2230eb09 100644 --- a/src/mainboard/arima/hdama/mainboard.c +++ b/src/mainboard/arima/hdama/mainboard.c @@ -4,8 +4,30 @@ #include #include +#include +#include +#include "chip.h" + unsigned long initial_apicid[MAX_CPUS] = { 0, 1, }; + +static void +enable(struct chip *chip, enum chip_pass pass) +{ + + struct mainboard_arima_hdama_config *conf = + (struct mainboard_arima_hdama_config *)chip->chip_info; + + switch (pass) { + default: break; + } + +} +struct chip_control mainboard_arima_hdama_control = { + enable: enable, + name: "Arima HDAMA mainboard " +}; + -- cgit v1.2.3