summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coreboot.org>2010-12-29 21:02:50 +0000
committerStefan Reinauer <stepan@openbios.org>2010-12-29 21:02:50 +0000
commitcdcf9833e804f3549257c3d071862a0e6ac4bfac (patch)
treea81841cf69f2755d4d80c70b45cec6a6c5681029 /src/northbridge
parentef15ff4de485b9c301d828f758cc5b40511c51ab (diff)
downloadcoreboot-cdcf9833e804f3549257c3d071862a0e6ac4bfac.tar.xz
fix i810 boards with ram init debugging disabled.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6220 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/i82810/raminit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/northbridge/intel/i82810/raminit.h b/src/northbridge/intel/i82810/raminit.h
index 5279effce3..1d8e61efab 100644
--- a/src/northbridge/intel/i82810/raminit.h
+++ b/src/northbridge/intel/i82810/raminit.h
@@ -30,6 +30,10 @@ void sdram_set_spd_registers(void);
void sdram_enable(void);
/* Debug */
+#if CONFIG_DEBUG_RAM_SETUP
void dump_spd_registers(void);
void dump_pci_device(unsigned dev);
+#else
+#define dump_spd_registers()
+#endif
#endif