From ea8d4607ce496b48fe5946ec309663261558f634 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Mon, 23 Dec 2013 09:55:33 +0200 Subject: AMD K8 (rev F): Move rev F0/F1 workaround to header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Place this in header so it works also when raminit_f.c and raminit_f_dqs.c are not #included in romstage.c build. The workaround remains to be disabled for all boards. Change-Id: Iff0271ceb21ee1e28a1a31d6bbdb97e29d76461e Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/4568 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Reviewed-by: Paul Menzel --- src/northbridge/amd/amdk8/amdk8.h | 3 +++ src/northbridge/amd/amdk8/raminit_f_dqs.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdk8/amdk8.h b/src/northbridge/amd/amdk8/amdk8.h index e001706ce9..05117f799d 100644 --- a/src/northbridge/amd/amdk8/amdk8.h +++ b/src/northbridge/amd/amdk8/amdk8.h @@ -3,6 +3,9 @@ #define AMDK8_H #if CONFIG_K8_REV_F_SUPPORT + +#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 + #include "f.h" #else #include "pre_f.h" diff --git a/src/northbridge/amd/amdk8/raminit_f_dqs.c b/src/northbridge/amd/amdk8/raminit_f_dqs.c index 95987b22c0..0781c7939b 100644 --- a/src/northbridge/amd/amdk8/raminit_f_dqs.c +++ b/src/northbridge/amd/amdk8/raminit_f_dqs.c @@ -467,9 +467,6 @@ static void InitDQSPos4RcvrEn(const struct mem_controller *ctrl) } -#ifndef K8_REV_F_SUPPORT_F0_F1_WORKAROUND -#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 1 -#endif static unsigned TrainRcvrEn(const struct mem_controller *ctrl, unsigned Pass, struct sys_info *sysinfo) { -- cgit v1.2.3