From 31f4d00c95731be956110f4c76656c330fd4684f Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 24 Sep 2015 21:45:13 -0600 Subject: northbridge/intel: Add i89xx header file The Intel northbridge must be paired with a southbridge. Add the ii89xx southbridge header based on the config setting. Change-Id: Ied708006310efaba31afe6977ab7e57fe4e5ceec Signed-off-by: Marc Jones Reviewed-on: http://review.coreboot.org/12167 Reviewed-by: Ronald G. Minnich Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) --- src/northbridge/intel/fsp_sandybridge/northbridge.h | 4 +++- src/northbridge/intel/fsp_sandybridge/report_platform.c | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src/northbridge/intel/fsp_sandybridge') diff --git a/src/northbridge/intel/fsp_sandybridge/northbridge.h b/src/northbridge/intel/fsp_sandybridge/northbridge.h index f995b941e1..ab428c318f 100644 --- a/src/northbridge/intel/fsp_sandybridge/northbridge.h +++ b/src/northbridge/intel/fsp_sandybridge/northbridge.h @@ -55,8 +55,10 @@ #define DEFAULT_EPBAR 0xfed19000 /* 4 KB */ #define DEFAULT_RCBABASE ((u8 *)0xfed1c000) -#if CONFIG_SOUTHBRIDGE_INTEL_FSP_BD82X6X +#if IS_ENABLED(CONFIG_SOUTHBRIDGE_INTEL_FSP_BD82X6X) #include +#elif IS_ENABLED(CONFIG_SOUTHBRIDGE_INTEL_FSP_I89XX) +#include #endif /* Everything below this line is ignored in the DSDT */ diff --git a/src/northbridge/intel/fsp_sandybridge/report_platform.c b/src/northbridge/intel/fsp_sandybridge/report_platform.c index cd094bba88..004b57e004 100644 --- a/src/northbridge/intel/fsp_sandybridge/report_platform.c +++ b/src/northbridge/intel/fsp_sandybridge/report_platform.c @@ -18,8 +18,11 @@ #include #include -#if CONFIG_SOUTHBRIDGE_INTEL_FSP_BD82X6X + +#if IS_ENABLED(CONFIG_SOUTHBRIDGE_INTEL_FSP_BD82X6X) #include +#elif IS_ENABLED(CONFIG_SOUTHBRIDGE_INTEL_FSP_I89XX) +#include #endif #include -- cgit v1.2.3