Following patch adds support for suspend/resume functions. I had to change the get_cb...
[coreboot.git] / src / northbridge / intel / i945 / raminit.h
index 33ed7008267d5c84a590cf9372aa5b3816334b78..e3b8491fcd92d8f8dca3f86b0f6715c9ebcef580 100644 (file)
@@ -5,7 +5,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License
+ * the Free Software Foundation; version 2 of the License.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,7 +22,6 @@
 
 #define DIMM_SOCKETS 2
 
-#define DIMM_SPD_BASE 0x50
 #define DIMM_TCO_BASE 0x30
 
 /* Burst length is always 8 */
@@ -47,6 +46,9 @@ struct sys_info {
        u8 mvco4x;              /* 0 (8x) or 1 (4x) */
        u8 clkcfg_bit7;
        u8 boot_path;
+#define BOOT_PATH_NORMAL       0
+#define BOOT_PATH_RESET                1
+#define BOOT_PATH_RESUME       2
 
        u8 package;             /* 0 = planar, 1 = stacked */
 #define SYSINFO_PACKAGE_PLANAR         0x00
@@ -64,4 +66,9 @@ struct sys_info {
 
 } __attribute__ ((packed));
 
+void receive_enable_adjust(struct sys_info *sysinfo);
+void sdram_initialize(int boot_path);
+unsigned long get_top_of_ram(void);
+int fixup_i945_errata(void);
+void udelay(u32 us);
 #endif                         /* RAMINIT_H */