dump_spd_registers() is only defined when ram init debugging is on.
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
This commit is contained in:
parent
3c0bfaf7da
commit
1c2c75098e
|
@ -29,8 +29,11 @@ int spd_read_byte(unsigned int device, unsigned int address);
|
||||||
void sdram_set_registers(void);
|
void sdram_set_registers(void);
|
||||||
void sdram_set_spd_registers(void);
|
void sdram_set_spd_registers(void);
|
||||||
void sdram_enable(void);
|
void sdram_enable(void);
|
||||||
|
|
||||||
/* Debug */
|
/* Debug */
|
||||||
|
#if CONFIG_DEBUG_RAM_SETUP
|
||||||
void dump_spd_registers(void);
|
void dump_spd_registers(void);
|
||||||
void dump_pci_device(unsigned dev);
|
void dump_pci_device(unsigned dev);
|
||||||
|
#else
|
||||||
|
#define dump_spd_registers()
|
||||||
|
#endif
|
||||||
#endif /* RAMINIT_H */
|
#endif /* RAMINIT_H */
|
||||||
|
|
Loading…
Reference in New Issue