diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2004-11-28 04:39:45 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2004-11-28 04:39:45 +0000 |
commit | 284c27f29971326bd786e89c1ceb3f51a53203db (patch) | |
tree | f33b9ced0942a0fcb3f815730761adc22cf5142f /src/mainboard/digitallogic/adl855pc | |
parent | 637b6998650619252b89e29f2add0167780e70db (diff) | |
download | coreboot-284c27f29971326bd786e89c1ceb3f51a53203db.tar.xz |
fixes to make adl855pc compile.
fixes to emulator.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1806 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/digitallogic/adl855pc')
-rw-r--r-- | src/mainboard/digitallogic/adl855pc/auto.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/mainboard/digitallogic/adl855pc/auto.c b/src/mainboard/digitallogic/adl855pc/auto.c index 087f3da5cc..f1e831e947 100644 --- a/src/mainboard/digitallogic/adl855pc/auto.c +++ b/src/mainboard/digitallogic/adl855pc/auto.c @@ -1,5 +1,5 @@ #define ASSEMBLY 1 -#define ASM_CONSOLE_LOGLEVEL 10 +#define ASM_CONSOLE_LOGLEVEL 8 #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h> @@ -80,29 +80,28 @@ static void main(unsigned long bist) w83627hf_enable_serial(SERIAL_DEV, TTYS0_BASE); uart_init(); console_init(); - print_err("HARD MAIN0\n"); + /* Halt if there was a built in self test failure */ report_bist_failure(bist); - print_err("HARD MAIN\n"); -#if 1 + +#if 0 print_pci_devices(); #endif - print_err("after print pci dev \n"); + if(!bios_reset_detected()) { enable_smbus(); - print_err("after enable smbus\n"); -#if 1 +#if 0 dump_spd_registers(&memctrl[0]); // dump_smbus_registers(); #endif - print_err("after dump spd registers\n"); + memreset_setup(); - print_err("memreset setup\n"); + sdram_initialize(sizeof(memctrl)/sizeof(memctrl[0]), memctrl); - print_err("sdram init\n"); + } #if 0 else { |