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:
parent
a20d0e0f79
commit
186e9c4313
|
@ -25,6 +25,7 @@ romstage-y += raminit.c
|
||||||
romstage-y += early_init.c
|
romstage-y += early_init.c
|
||||||
romstage-y += errata.c
|
romstage-y += errata.c
|
||||||
romstage-y += debug.c
|
romstage-y += debug.c
|
||||||
|
romstage-y += rcven.c
|
||||||
|
|
||||||
smm-y += udelay.c
|
smm-y += udelay.c
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include <pc80/mc146818rtc.h>
|
#include <pc80/mc146818rtc.h>
|
||||||
#include <spd.h>
|
#include <spd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/io.h>
|
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
#include <lib.h>
|
#include <lib.h>
|
||||||
#include "raminit.h"
|
#include "raminit.h"
|
||||||
|
@ -2743,8 +2742,6 @@ static void sdram_recover_receive_enable(void)
|
||||||
MCHBAR32(C1DRT1) = reg32;
|
MCHBAR32(C1DRT1) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "rcven.c"
|
|
||||||
|
|
||||||
static void sdram_program_receive_enable(struct sys_info *sysinfo)
|
static void sdram_program_receive_enable(struct sys_info *sysinfo)
|
||||||
{
|
{
|
||||||
MCHBAR32(REPC) |= (1 << 0);
|
MCHBAR32(REPC) |= (1 << 0);
|
||||||
|
|
|
@ -13,7 +13,10 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <console/console.h>
|
||||||
|
#include <arch/io.h>
|
||||||
#include "raminit.h"
|
#include "raminit.h"
|
||||||
|
#include "i945.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* sample the strobes signal
|
* sample the strobes signal
|
||||||
|
|
Loading…
Reference in New Issue