updates for the E325
authorRonald G. Minnich <rminnich@gmail.com>
Mon, 22 Mar 2004 04:23:57 +0000 (04:23 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Mon, 22 Mar 2004 04:23:57 +0000 (04:23 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1460 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/console/console.c
src/mainboard/ibm/e325/auto.c
src/ram/ramtest.c
targets/ibm/e325/Config.lb

index 90557436dfb31b944b91ee3bc4249a1e5d5f1887..7a99cd49f3459c0bfb89ae8f27d8957f578042d5 100644 (file)
@@ -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
index 8b0d2160284494966d988ccd5c7e30352c26cc54..2bed6b284c45921309c0e24ce9249cb9707d5f6a 100644 (file)
@@ -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
        
 }
index af77fcc3860e16a93402df300ad842b413fc40f6..e38787d86711ad15bd9b6de6df1c70d86747f0ef 100644 (file)
@@ -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");
 }
 
index 9ec7bd37aec3a28f45e85583bd2c0afec57ae683..5ac275ab9313ba3720077bf1daf3c3b4e0c97524 100644 (file)
@@ -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