summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console/console.c2
-rw-r--r--src/mainboard/ibm/e325/auto.c8
-rw-r--r--src/ram/ramtest.c12
-rw-r--r--targets/ibm/e325/Config.lb8
4 files changed, 17 insertions, 13 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");
}
diff --git a/targets/ibm/e325/Config.lb b/targets/ibm/e325/Config.lb
index 9ec7bd37ae..5ac275ab93 100644
--- a/targets/ibm/e325/Config.lb
+++ b/targets/ibm/e325/Config.lb
@@ -10,6 +10,8 @@ uses CONFIG_COMPRESS
uses CONFIG_IOAPIC
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_SERIAL_POST
+uses NO_POST
uses CONFIG_UDELAY_TSC
uses CPU_FIXUP
uses FALLBACK_SIZE
@@ -51,9 +53,11 @@ uses LINUXBIOS_EXTRA_VERSION
option CONFIG_CHIP_CONFIGURE=1
-option MAXIMUM_CONSOLE_LOGLEVEL=8
-option DEFAULT_CONSOLE_LOGLEVEL=8
+option MAXIMUM_CONSOLE_LOGLEVEL=9
+option DEFAULT_CONSOLE_LOGLEVEL=9
option CONFIG_CONSOLE_SERIAL8250=1
+option CONFIG_SERIAL_POST=1
+option NO_POST=0
option CPU_FIXUP=1
option CONFIG_UDELAY_TSC=0