diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-01-10 14:26:23 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-01-11 17:08:18 +0100 |
commit | 186e9c4313fbbd55b7b5391a139235ee6121cb74 (patch) | |
tree | f08cecc63e431b874b85a25805ac5d39ec1143a5 /src/northbridge/intel | |
parent | a20d0e0f79cdff543a584ed6187ba6e86e76ddac (diff) |
nb/i945/raminit.c: Use Makefile.inc instead of '#include rcven.c'
Change-Id: Ib86600b687c7002646ca82d5fa52121b6eafcd60
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/18087
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/i945/Makefile.inc | 1 | ||||
-rw-r--r-- | src/northbridge/intel/i945/raminit.c | 3 | ||||
-rw-r--r-- | src/northbridge/intel/i945/rcven.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/northbridge/intel/i945/Makefile.inc b/src/northbridge/intel/i945/Makefile.inc index 6b176c2552..0e4fcfcb54 100644 --- a/src/northbridge/intel/i945/Makefile.inc +++ b/src/northbridge/intel/i945/Makefile.inc @@ -25,6 +25,7 @@ romstage-y += raminit.c romstage-y += early_init.c romstage-y += errata.c romstage-y += debug.c +romstage-y += rcven.c smm-y += udelay.c diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index f9ba37b17b..cc227cc50e 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -22,7 +22,6 @@ #include <pc80/mc146818rtc.h> #include <spd.h> #include <string.h> -#include <arch/io.h> #include <halt.h> #include <lib.h> #include "raminit.h" @@ -2743,8 +2742,6 @@ static void sdram_recover_receive_enable(void) MCHBAR32(C1DRT1) = reg32; } -#include "rcven.c" - static void sdram_program_receive_enable(struct sys_info *sysinfo) { MCHBAR32(REPC) |= (1 << 0); diff --git a/src/northbridge/intel/i945/rcven.c b/src/northbridge/intel/i945/rcven.c index f4d9315ef3..a6aaefa1bf 100644 --- a/src/northbridge/intel/i945/rcven.c +++ b/src/northbridge/intel/i945/rcven.c @@ -13,7 +13,10 @@ * GNU General Public License for more details. */ +#include <console/console.h> +#include <arch/io.h> #include "raminit.h" +#include "i945.h" /** * sample the strobes signal |