new cache_as_ram support
[coreboot.git] / src / mainboard / tyan / s2895 / cache_as_ram_auto.c
index 1ae0c9e5d10cf9943154f4f3c47a99b2442f302e..00bf1a6c233567a874b74e6a0d14ae45c9d0ba4b 100644 (file)
 
 #define SERIAL_DEV PNP_DEV(0x2e, LPC47B397_SP1)
 
-static void hard_reset(void)
-{
-        set_bios_reset();
-
-        /* full reset */
-       outb(0x0a, 0x0cf9);
-        outb(0x0e, 0x0cf9);
-}
-
-static void soft_reset(void)
-{
-        set_bios_reset();
-#if 1
-        /* link reset */
-       outb(0x02, 0x0cf9);
-        outb(0x06, 0x0cf9);
-#endif
-}
-
 static void memreset_setup(void)
 {
 }
@@ -239,7 +220,6 @@ void real_main(unsigned long bist, unsigned long cpu_init_detectedx)
        };
 
         int needs_reset;
-       unsigned cpu_reset = 0;
         unsigned bsp_apicid = 0;
 
         struct mem_controller ctrl[8];
@@ -288,5 +268,5 @@ void real_main(unsigned long bist, unsigned long cpu_init_detectedx)
        memreset_setup();
        sdram_initialize(nodes, ctrl);
 
-       post_cache_as_ram(cpu_reset);
+       post_cache_as_ram();
 }