Most boards unconditionally call this. Fix it in header file instead of each single romstage.c
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6216
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
void sdram_set_registers(void);
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 /* RAMINIT_H */