summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i440bx/raminit.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-10-09 17:00:18 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-10-09 17:00:18 +0000
commit115c5b982495f8495968e0ea4fd77f63df6e5d71 (patch)
tree648358b1daa5aea9297eb0c1610a32275f152875 /src/northbridge/intel/i440bx/raminit.h
parent53b52f356abe8212f8b06b14c3237ca05b71d597 (diff)
downloadcoreboot-115c5b982495f8495968e0ea4fd77f63df6e5d71.tar.xz
Remove various .c #includes from Intel 440BX/82371EB boards.
- Use 'romstage-y' to turn i82371eb_early_pm.c and i82371eb_early_smbus.c into distinct compilation units, and don't #include the files anymore in romstage.c files. - Ditto for lib/debug.c, northbridge/intel/i440bx/raminit.c, and northbridge/intel/i440bx/debug.c. - Add various header files which are now needed. - Make functions that need to be visible non-static. - Drop a remaining "select ROMCC" from a 4440BX board. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Idwer Vollering <vidwer@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5929 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/intel/i440bx/raminit.h')
-rw-r--r--src/northbridge/intel/i440bx/raminit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/northbridge/intel/i440bx/raminit.h b/src/northbridge/intel/i440bx/raminit.h
index d05f6fd8c9..18268a1e82 100644
--- a/src/northbridge/intel/i440bx/raminit.h
+++ b/src/northbridge/intel/i440bx/raminit.h
@@ -26,5 +26,12 @@
/* DIMMs 1-4 are at 0x50, 0x51, 0x52, 0x53. */
#define DIMM_SPD_BASE 0x50
+
+/* Function prototypes. */
+int spd_read_byte(unsigned int device, unsigned int address);
+void sdram_set_registers(void);
+void sdram_set_spd_registers(void);
+void sdram_enable(void);
+void dump_spd_registers(void);
#endif /* RAMINIT_H */