blob: b5c19ffaf3f9b0f78693e43da1d24ede95053198 [file] [log] [blame]
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +01001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2010 Google Inc.
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; version 2 of the License.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010015
Stefan Reinauere1133b72015-04-27 14:04:38 -070016ifeq ($(CONFIG_NORTHBRIDGE_INTEL_NEHALEM),y)
17
Kyösti Mälkki191d2212014-06-15 12:06:12 +030018ramstage-y += ram_calc.c
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010019ramstage-y += northbridge.c
Vladimir Serbinenko0f9aa1c2015-05-29 16:52:50 +020020ramstage-y += smi.c
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010021ramstage-y += gma.c
22
Vladimir Serbinenko822bc652014-01-03 15:55:40 +010023ramstage-y += acpi.c
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010024
Kyösti Mälkki191d2212014-06-15 12:06:12 +030025romstage-y += ram_calc.c
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010026romstage-y += raminit.c
27romstage-y += early_init.c
Stefan Reinauer6cb3a592015-07-13 09:39:15 +020028romstage-y += ../../../arch/x86/walkcbfs.S
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010029
30smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c
31
32$(obj)/mrc.cache:
33 dd if=/dev/zero count=1 \
Arthur Heymansb29e0b72017-01-22 21:24:40 +010034 bs=$(shell printf "%d" $(CONFIG_MRC_CACHE_SIZE) ) | \
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010035 tr '\000' '\377' > $@
36
37cbfs-files-y += mrc.cache
38mrc.cache-file := $(obj)/mrc.cache
Alexandru Gagniuc2c482a92015-09-07 01:54:23 -070039mrc.cache-align := 0x10000
Martin Roth72a8e5e2015-03-24 16:02:27 -060040mrc.cache-type := mrc_cache
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010041
Stefan Reinauere1133b72015-04-27 14:04:38 -070042endif