Commit on freebios2
ron minnich
rminnich at lanl.gov
Mon Aug 4 16:54:01 CEST 2003
I have made the initial commits for the items Stefan requested; comments
welcome.
Here is the log.
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.
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/cpu/k7/Config.lb src/cpu/k8/Config.lb
CVS: src/cpu/k8/cpufixup.c src/cpu/p6/Config.lb
CVS: src/mainboard/arima/hdama/Config.lb
CVS: src/mainboard/arima/hdama/mainboard.c util/newconfig/config.g
CVS:
----------------------------------------------------------------------
Here is the fragment of the arima mainboard file that uses the new code;
note that it is incomplete, I hope to fill it in.
cpu k8 "cpu0"
register "up" = "{.chip = &amd8111, .ht_width=8, .ht_speed=200}"
end
cpu k8 "cpu1"
end
Here is the code produced.
struct chip static_root = {
/* mainboard /home/rminnich/src/bios/freebios2/src/mainboard/arima/hdama
*/
.next = 0,
.children = &cpu1,
.control= &mainboard_arima_hdama_control,
.chip_info = (void *) &mainboard_arima_hdama_config_0,
};
struct cpu_k8_config cpu1_config;
struct chip cpu1 = {
/* cpu /home/rminnich/src/bios/freebios2/src/cpu/k8 */
.next = &cpu0,
.children = 0,
.control= &cpu_k8_control,
.chip_info = (void *) &cpu1_config,
};
struct cpu_k8_config cpu0_config = {
.up = {.chip = &amd8111, .ht_width=8, .ht_speed=200},
};
struct chip cpu0 = {
/* cpu /home/rminnich/src/bios/freebios2/src/cpu/k8 */
.next = &superio_NSC_pc87360_dev5,
.children = 0,
.control= &cpu_k8_control,
.chip_info = (void *) &cpu0_config,
};
thanks
ron
More information about the coreboot
mailing list