diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-05-10 16:28:38 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2017-06-28 00:50:08 +0000 |
commit | 8eb55bbfe7e3bd601c4bece24e0772dba5410827 (patch) | |
tree | 42209df29cb13dc5f07896eeca4dcc243a9455a5 /src/northbridge/amd/amdk8/raminit.h | |
parent | 4988af8ca8f3323a5a6b63a0b83ebda1fc2d2a81 (diff) |
nb/amdk8/debug.c Fix building with CONFIG_DEBUG_SMBUS
Problem was introduced by fb2f667da2 "nb/amd/amdk8: Link raminit_f.c"
which linked debug.c and was not tested with this option.
Change-Id: I8597a6915c65ea783a864110cb23ecb34ea0611b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/19653
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Swift Geek <swiftgeek@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/northbridge/amd/amdk8/raminit.h')
-rw-r--r-- | src/northbridge/amd/amdk8/raminit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/raminit.h b/src/northbridge/amd/amdk8/raminit.h index 0f4636b43e..168b2ba196 100644 --- a/src/northbridge/amd/amdk8/raminit.h +++ b/src/northbridge/amd/amdk8/raminit.h @@ -33,6 +33,8 @@ void sdram_enable(int controllers, const struct mem_controller *ctrl, void sdram_set_registers(const struct mem_controller *ctrl, struct sys_info *sysinfo); void sdram_set_spd_registers(const struct mem_controller *ctrl, struct sys_info *sysinfo); +void dump_spd_registers(const struct mem_controller *ctrl); +void dump_smbus_registers(void); #else void sdram_set_registers(const struct mem_controller *ctrl); void sdram_set_spd_registers(const struct mem_controller *ctrl); |