nb/intel/haswell: Move MRC glue code into a subfolder
Put the Haswell MRC glue code inside a `haswell_mrc` subfolder. Future commits will move the Broadwell MRC/refcode glue code to be in Haswell northbridge scope, so plan in advance. Tested on Asrock B85M Pro4, still boots. Change-Id: Id3e26ec1c2d5ccce928083d7ce41445908df8cf3 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55523 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
bc04997f75
commit
863efe4545
|
@ -13,17 +13,12 @@ ramstage-y += acpi.c
|
|||
ramstage-y += minihd.c
|
||||
|
||||
romstage-y += memmap.c
|
||||
romstage-y += raminit.c
|
||||
romstage-y += romstage.c
|
||||
romstage-y += early_init.c
|
||||
romstage-y += report_platform.c
|
||||
|
||||
# We don't ship that, but booting without it is bound to fail
|
||||
cbfs-files-$(CONFIG_HAVE_MRC) += mrc.bin
|
||||
mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE))
|
||||
mrc.bin-position := 0xfffa0000
|
||||
mrc.bin-type := mrc
|
||||
|
||||
postcar-y += memmap.c
|
||||
|
||||
subdirs-y += haswell_mrc
|
||||
|
||||
endif
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
romstage-y += raminit.c
|
||||
|
||||
# We don't ship that, but booting without it is bound to fail
|
||||
cbfs-files-$(CONFIG_HAVE_MRC) += mrc.bin
|
||||
mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE))
|
||||
mrc.bin-position := 0xfffa0000
|
||||
mrc.bin-type := mrc
|
|
@ -14,6 +14,8 @@
|
|||
#include <device/pci_ops.h>
|
||||
#include <device/dram/ddr3.h>
|
||||
#include <northbridge/intel/haswell/chip.h>
|
||||
#include <northbridge/intel/haswell/haswell.h>
|
||||
#include <northbridge/intel/haswell/raminit.h>
|
||||
#include <smbios.h>
|
||||
#include <spd.h>
|
||||
#include <security/vboot/vboot_common.h>
|
||||
|
@ -23,9 +25,7 @@
|
|||
#include <timestamp.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "raminit.h"
|
||||
#include "pei_data.h"
|
||||
#include "haswell.h"
|
||||
|
||||
#define MRC_CACHE_VERSION 1
|
||||
|
Loading…
Reference in New Issue