mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: nb/i945/raminit.c: Use Makefile.inc instead of '#include rcven.c'
BUG=none
BRANCH=none
TEST=none
Change-Id: I39fc3445fc4a7cde37bd76be0bf0e45e090eaaea
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 186e9c4313
Original-Change-Id: Ib86600b687c7002646ca82d5fa52121b6eafcd60
Original-Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Original-Reviewed-on: https://review.coreboot.org/18087
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://chromium-review.googlesource.com/428247
Commit-Ready: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
8141a6459b
commit
cc129acf7f
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue