Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 1 | # |
| 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 |
Paul Menzel | a46a712 | 2013-02-23 18:37:27 +0100 | [diff] [blame] | 17 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 18 | # |
| 19 | |
Kyösti Mälkki | cb08e16 | 2013-10-15 17:19:41 +0300 | [diff] [blame] | 20 | ramstage-y += ram_calc.c |
Patrick Georgi | 23f38cd | 2012-11-16 14:50:32 +0100 | [diff] [blame] | 21 | ramstage-y += northbridge.c |
| 22 | ramstage-y += gma.c |
Vladimir Serbinenko | 1783a3c | 2014-02-23 00:10:35 +0100 | [diff] [blame] | 23 | ramstage-$(CONFIG_IVYBRIDGE_LVDS) += gma_ivybridge_lvds.c |
Vladimir Serbinenko | 9ba922f | 2014-08-24 22:38:07 +0200 | [diff] [blame] | 24 | ramstage-$(CONFIG_SANDYBRIDGE_LVDS) += gma_sandybridge_lvds.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 25 | |
Vladimir Serbinenko | 822bc65 | 2014-01-03 15:55:40 +0100 | [diff] [blame] | 26 | ramstage-y += acpi.c |
Stefan Reinauer | 1244f4b | 2012-05-10 11:31:40 -0700 | [diff] [blame] | 27 | ramstage-y += mrccache.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 28 | |
Kyösti Mälkki | cb08e16 | 2013-10-15 17:19:41 +0300 | [diff] [blame] | 29 | romstage-y += ram_calc.c |
Vladimir Serbinenko | 7686a56 | 2014-05-18 11:05:56 +0200 | [diff] [blame] | 30 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += raminit.c |
| 31 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE) += raminit.c |
| 32 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE) += raminit_native.c |
Vladimir Serbinenko | fa1d688 | 2014-10-19 02:50:45 +0200 | [diff] [blame] | 33 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE) += romstage_native.c |
Vladimir Serbinenko | 7686a56 | 2014-05-18 11:05:56 +0200 | [diff] [blame] | 34 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE) += ../../../device/dram/ddr3.c |
Vladimir Serbinenko | 309fc4c | 2014-08-24 22:35:29 +0200 | [diff] [blame] | 35 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE) += raminit_native.c |
Vladimir Serbinenko | fa1d688 | 2014-10-19 02:50:45 +0200 | [diff] [blame] | 36 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE) += romstage_native.c |
Vladimir Serbinenko | 309fc4c | 2014-08-24 22:35:29 +0200 | [diff] [blame] | 37 | romstage-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE) += ../../../device/dram/ddr3.c |
Stefan Reinauer | 1244f4b | 2012-05-10 11:31:40 -0700 | [diff] [blame] | 38 | romstage-y += mrccache.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 39 | romstage-y += early_init.c |
Vadim Bendebury | 7a3f36a | 2012-04-18 15:47:32 -0700 | [diff] [blame] | 40 | romstage-y += report_platform.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 41 | romstage-y += ../../../arch/x86/lib/walkcbfs.S |
| 42 | |
Stefan Reinauer | 16401b8 | 2012-04-27 01:05:11 +0200 | [diff] [blame] | 43 | smm-$(CONFIG_HAVE_SMI_HANDLER) += udelay.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 44 | smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c |
| 45 | |
| 46 | # We don't ship that, but booting without it is bound to fail |
| 47 | cbfs-files-$(CONFIG_HAVE_MRC) += mrc.bin |
Stefan Reinauer | cafedcf | 2012-05-01 16:37:18 -0700 | [diff] [blame] | 48 | mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE)) |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 49 | mrc.bin-position := 0xfffa0000 |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 50 | mrc.bin-type := 0xab |
Stefan Reinauer | e5a0a5d | 2012-09-19 10:51:48 -0700 | [diff] [blame] | 51 | |
Kyösti Mälkki | 591031f | 2014-02-13 00:33:40 +0200 | [diff] [blame] | 52 | ifneq ($(CONFIG_CHROMEOS),y) |
| 53 | $(obj)/mrc.cache: $(obj)/config.h |
Patrick Georgi | 483ff82 | 2013-06-18 11:34:01 +0200 | [diff] [blame] | 54 | dd if=/dev/zero count=1 \ |
| 55 | bs=$(shell printf "%d" $(CONFIG_MRC_CACHE_SIZE) ) | \ |
| 56 | tr '\000' '\377' > $@ |
| 57 | |
Vladimir Serbinenko | 7d6b0af | 2014-10-19 03:07:26 +0200 | [diff] [blame] | 58 | cbfs-files-y += mrc.cache |
Patrick Georgi | 483ff82 | 2013-06-18 11:34:01 +0200 | [diff] [blame] | 59 | mrc.cache-file := $(obj)/mrc.cache |
Vladimir Serbinenko | 7686a56 | 2014-05-18 11:05:56 +0200 | [diff] [blame] | 60 | mrc-cache-position-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) := 0xfffd0000 |
| 61 | mrc-cache-position-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE) := 0xfffd0000 |
| 62 | mrc-cache-position-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE) := 0xfffe0000 |
Vladimir Serbinenko | 309fc4c | 2014-08-24 22:35:29 +0200 | [diff] [blame] | 63 | mrc-cache-position-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE) := 0xfffe0000 |
Vladimir Serbinenko | 7686a56 | 2014-05-18 11:05:56 +0200 | [diff] [blame] | 64 | mrc.cache-position := $(mrc-cache-position-y) |
Patrick Georgi | 483ff82 | 2013-06-18 11:34:01 +0200 | [diff] [blame] | 65 | mrc.cache-type := 0xac |
Kyösti Mälkki | 591031f | 2014-02-13 00:33:40 +0200 | [diff] [blame] | 66 | endif |
Patrick Georgi | 483ff82 | 2013-06-18 11:34:01 +0200 | [diff] [blame] | 67 | |