blob: ff656280ec2c9a753f7876af2cc1e47536019ea4 [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#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18#
19
Kyösti Mälkki191d2212014-06-15 12:06:12 +030020ramstage-y += ram_calc.c
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010021ramstage-y += northbridge.c
22ramstage-y += gma.c
23
Vladimir Serbinenko822bc652014-01-03 15:55:40 +010024ramstage-y += acpi.c
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010025ramstage-y += ../sandybridge/mrccache.c
26
Kyösti Mälkki191d2212014-06-15 12:06:12 +030027romstage-y += ram_calc.c
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010028romstage-y += raminit.c
29romstage-y += early_init.c
30romstage-y += ../sandybridge/mrccache.c
31romstage-y += ../../../arch/x86/lib/walkcbfs.S
32
33smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c
34
35$(obj)/mrc.cache:
36 dd if=/dev/zero count=1 \
37 bs=$(shell printf "%d" $(CONFIG_TRAINING_CACHE_SIZE) ) | \
38 tr '\000' '\377' > $@
39
40cbfs-files-y += mrc.cache
41mrc.cache-file := $(obj)/mrc.cache
Vladimir Serbinenko82926e12014-01-18 02:05:17 +010042mrc.cache-position := 0xfffe0000
Martin Roth72a8e5e2015-03-24 16:02:27 -060043mrc.cache-type := mrc_cache
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010044