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>
This commit is contained in:
Arthur Heymans 2017-01-10 14:26:23 +01:00 committed by Martin Roth
parent a20d0e0f79
commit 186e9c4313
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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);

View File

@ -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