aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/digitallogic/adl855pc/auto.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2004-09-30 16:37:22 +0000
committerRonald G. Minnich <rminnich@gmail.com>2004-09-30 16:37:22 +0000
commita4779e80c3e54e6e6c31169908803065b4ef68b2 (patch)
tree80dc6721ec07d14523e6ed3ee1af30013f869a6b /src/mainboard/digitallogic/adl855pc/auto.c
parent2b763af4ca6541734ff7d36a16173f9606c248c9 (diff)
digital logic stuff, fixes for the smbus code in 82801dbm
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1652 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/digitallogic/adl855pc/auto.c')
-rw-r--r--src/mainboard/digitallogic/adl855pc/auto.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mainboard/digitallogic/adl855pc/auto.c b/src/mainboard/digitallogic/adl855pc/auto.c
index 305f5c359c..6e6b2cd944 100644
--- a/src/mainboard/digitallogic/adl855pc/auto.c
+++ b/src/mainboard/digitallogic/adl855pc/auto.c
@@ -1,4 +1,5 @@
#define ASSEMBLY 1
+
#include <stdint.h>
#include <device/pci_def.h>
#include <arch/io.h>
@@ -26,6 +27,7 @@
#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)
+
static void hard_reset(void)
{
outb(0x0e, 0x0cf9);
@@ -60,7 +62,7 @@ static void main(void)
static const struct mem_controller memctrl[] = {
{
.d0 = PCI_DEV(0, 0, 0),
- .channel0 = { (0xa<<3)|0, (0xa<<3)|1, (0xa<<3)|2, 0 },
+ .channel0 = { (0xa<<3)|0, 0 },
},
};
@@ -73,14 +75,14 @@ static void main(void)
uart_init();
console_init();
-#if 1
+#if 0
print_pci_devices();
#endif
if(!bios_reset_detected()) {
enable_smbus();
#if 1
-// dump_spd_registers(&memctrl[0]);
- dump_smbus_registers();
+ dump_spd_registers(&memctrl[0]);
+ // dump_smbus_registers();
#endif
memreset_setup();
@@ -102,10 +104,10 @@ static void main(void)
}
#endif
-#if 1
+#if 0
dump_pci_devices();
#endif
-#if 1
+#if 0
dump_pci_device(PCI_DEV(0, 0, 0));
#endif