summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2004-11-28 04:39:45 +0000
committerRonald G. Minnich <rminnich@gmail.com>2004-11-28 04:39:45 +0000
commit284c27f29971326bd786e89c1ceb3f51a53203db (patch)
treef33b9ced0942a0fcb3f815730761adc22cf5142f /src/northbridge
parent637b6998650619252b89e29f2add0167780e70db (diff)
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/northbridge')
-rw-r--r--src/northbridge/intel/i855pm/raminit.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/northbridge/intel/i855pm/raminit.c b/src/northbridge/intel/i855pm/raminit.c
index 64266d26e6..07dac67a73 100644
--- a/src/northbridge/intel/i855pm/raminit.c
+++ b/src/northbridge/intel/i855pm/raminit.c
@@ -17,9 +17,9 @@
/* converted to C 6/2004 yhlu */
-#define DEBUG_RAM_CONFIG 12
+#define DEBUG_RAM_CONFIG 2
#undef ASM_CONSOLE_LOGLEVEL
-#define ASM_CONSOLE_LOGLEVEL 10
+#define ASM_CONSOLE_LOGLEVEL 8
#define dumpnorth() dump_pci_device(PCI_DEV(0, 0, 1))
/* DDR DIMM Mode register Definitions */
@@ -380,14 +380,14 @@ static void write_8dwords(uint32_t src_addr, uint32_t dst_addr) {
static void ram_set_d0f0_regs(const struct mem_controller *ctrl) {
#if DEBUG_RAM_CONFIG
- dumpnorth();
+ //dumpnorth();
#endif
int i;
int max;
max = sizeof(register_values)/sizeof(register_values[0]);
for(i = 0; i < max; i += 3) {
uint32_t reg;
-#if DEBUG_RAM_CONFIG
+#if DEBUG_RAM_CONFIG >=2
print_debug_hex32(register_values[i]);
print_debug(" <-");
print_debug_hex32(register_values[i+2]);
@@ -1395,10 +1395,10 @@ static void dram_finish(const struct mem_controller *ctrl)
if(dword == 1) {
#if DEBUG_RAM_CONFIG
- print_debug(ecc_pre_init);
+// print_debug(ecc_pre_init);
#endif
#if DEBUG_RAM_CONFIG
- print_debug(ecc_post_init);
+// print_debug(ecc_post_init);
#endif
#if 0
/* Clear the ECC error bits */
@@ -1409,7 +1409,7 @@ static void dram_finish(const struct mem_controller *ctrl)
}
#if DEBUG_RAM_CONFIG
- dumpnorth();
+// dumpnorth();
#endif
/* verify_ram(); */