* Explicitly add __PRE_RAM__ where it should be added.
[coreboot.git] / src / mainboard / supermicro / x6dhr_ig / auto.c
index d4e99921445214d9c3b4ee5da35dfb33bc41e206..314cc703250274dca518bd864788c3d6ab48d274 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
 #define RECVENA_CONFIG  0x0808090a
 #define RECVENB_CONFIG  0x0808090a
 
-//void udelay(int usecs)
-//{
-//        int i;
-//        for(i = 0; i < usecs; i++)
-//                outb(i&0xff, 0x80);
-//}
-
-#if 0
-static void hard_reset(void)
-{
-       /* enable cf9 */
-       pci_write_config8(PCI_DEV(0, 0x04, 3), 0x41, 0xf1);
-       /* reset */
-       outb(0x0e, 0x0cf9);
-}
-#endif
-
 static inline void activate_spd_rom(const struct mem_controller *ctrl)
 {
        /* nothing to do */