blob: 7718bf9acda5cbf60bba41ce3815631a7bb90952 [file] [log] [blame]
Stefan Reinauer00636b02012-04-04 00:08:51 +02001#
2# This file is part of the coreboot project.
3#
Stefan Reinauer00636b02012-04-04 00:08:51 +02004#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; version 2 of the License.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
Stefan Reinauer00636b02012-04-04 00:08:51 +020014
Nico Huber772a1542019-05-10 16:48:14 +020015ifeq ($(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE),y)
Stefan Reinauere1133b72015-04-27 14:04:38 -070016
Arthur Heymans360d9472019-11-12 18:11:03 +010017bootblock-y += bootblock.c
18
Kyösti Mälkkife481eb2019-08-03 21:28:40 +030019ramstage-y += memmap.c
Patrick Georgi23f38cd2012-11-16 14:50:32 +010020ramstage-y += northbridge.c
Patrick Rudolph0b643d22017-07-05 20:07:06 +020021ramstage-y += pcie.c
Patrick Georgi23f38cd2012-11-16 14:50:32 +010022ramstage-y += gma.c
Stefan Reinauer00636b02012-04-04 00:08:51 +020023
Vladimir Serbinenko822bc652014-01-03 15:55:40 +010024ramstage-y += acpi.c
Stefan Reinauer00636b02012-04-04 00:08:51 +020025
Kyösti Mälkkife481eb2019-08-03 21:28:40 +030026romstage-y += memmap.c
Patrick Rudolph74203de2017-11-20 11:57:01 +010027
28ramstage-y += common.c
29romstage-y += common.c
Kyösti Mälkki9265f892019-07-07 23:58:34 +030030smm-y += common.c
Patrick Rudolph74203de2017-11-20 11:57:01 +010031
Angel Pons064c7992020-03-17 23:09:16 +010032romstage-y += raminit_shared.c
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010033ifeq ($(CONFIG_USE_NATIVE_RAMINIT),y)
Patrick Rudolph6aca7e62019-03-26 18:22:36 +010034romstage-y += early_dmi.c
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010035romstage-y += raminit.c
Patrick Rudolphfd5fa2a2016-11-11 18:22:33 +010036romstage-y += raminit_common.c
Patrick Rudolph305035c2016-11-11 18:38:50 +010037romstage-y += raminit_sandy.c
38romstage-y += raminit_ivy.c
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010039romstage-y += ../../../device/dram/ddr3.c
40else
41romstage-y += raminit_mrc.c
Vladimir Serbinenkobd82d182016-02-12 19:23:02 +010042cbfs-files-y += mrc.bin
43mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE))
44mrc.bin-position := 0xfffa0000
45mrc.bin-type := mrc
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010046endif
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +010047romstage-y += romstage.c
Stefan Reinauer00636b02012-04-04 00:08:51 +020048romstage-y += early_init.c
Stefan Reinauer00636b02012-04-04 00:08:51 +020049
Kyösti Mälkki9265f892019-07-07 23:58:34 +030050smm-y += finalize.c
Stefan Reinauer00636b02012-04-04 00:08:51 +020051
Kyösti Mälkkife481eb2019-08-03 21:28:40 +030052postcar-y += memmap.c
Arthur Heymans6fcd7b82018-06-03 12:16:24 +020053
Stefan Reinauere1133b72015-04-27 14:04:38 -070054endif