From cdcf9833e804f3549257c3d071862a0e6ac4bfac Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 29 Dec 2010 21:02:50 +0000 Subject: fix i810 boards with ram init debugging disabled. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6220 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/intel/i82810/raminit.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3