summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console/console.c2
-rw-r--r--src/mainboard/ibm/e325/auto.c8
-rw-r--r--src/ram/ramtest.c12
3 files changed, 11 insertions, 11 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 90557436df..7a99cd49f3 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -82,7 +82,7 @@ int console_tst_byte(void)
*/
void post_code(uint8_t value)
{
-#if !defined(NO_POST)
+#if NO_POST==0
#if CONFIG_SERIAL_POST==1
printk_emerg("POST: 0x%02x\n", value);
#endif
diff --git a/src/mainboard/ibm/e325/auto.c b/src/mainboard/ibm/e325/auto.c
index 8b0d216028..2bed6b284c 100644
--- a/src/mainboard/ibm/e325/auto.c
+++ b/src/mainboard/ibm/e325/auto.c
@@ -161,7 +161,7 @@ static void main(void)
#endif
};
int needs_reset;
- print_emerg("H\n");
+
enable_lapic();
init_timer();
if (cpu_init_detected()) {
@@ -181,7 +181,7 @@ static void main(void)
print_info("ht reset -");
soft_reset();
}
- print_emerg("HER\n");
+
#if 0
print_pci_devices();
#endif
@@ -199,10 +199,10 @@ static void main(void)
dump_pci_device(PCI_DEV(0, 0x18, 2));
#endif
- print_err("LET'S DO SOME MEMORY\n");
+
#if 1
/* Check the first 1M */
- ram_check(0x00000000, 0x000100000);
+ ram_check(0x00000000, 0x001000000);
#endif
}
diff --git a/src/ram/ramtest.c b/src/ram/ramtest.c
index af77fcc386..e38787d867 100644
--- a/src/ram/ramtest.c
+++ b/src/ram/ramtest.c
@@ -93,13 +93,13 @@ void ram_check(unsigned long start, unsigned long stop)
* test than a "Is my DRAM faulty?" test. Not all bits
* are tested. -Tyson
*/
- print_debug("Testing DRAM : ");
- print_debug_hex32(start);
- print_debug("-");
- print_debug_hex32(stop);
- print_debug("\r\n");
+ print_err("Testing DRAM : ");
+ print_err_hex32(start);
+ print_err("-");
+ print_err_hex32(stop);
+ print_err("\r\n");
ram_fill(start, stop);
ram_verify(start, stop);
- print_debug("Done.\r\n");
+ print_err("Done.\r\n");
}