Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [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 | # |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 15 | |
Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 16 | ifeq ($(CONFIG_NORTHBRIDGE_INTEL_HASWELL),y) |
| 17 | |
Kyösti Mälkki | cb08e16 | 2013-10-15 17:19:41 +0300 | [diff] [blame] | 18 | ramstage-y += ram_calc.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 19 | ramstage-y += northbridge.c |
| 20 | ramstage-y += gma.c |
| 21 | |
Vladimir Serbinenko | 822bc65 | 2014-01-03 15:55:40 +0100 | [diff] [blame] | 22 | ramstage-y += acpi.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 23 | ramstage-y += mrccache.c |
Duncan Laurie | 0a7c49e | 2013-06-20 12:40:55 -0700 | [diff] [blame] | 24 | ramstage-y += minihd.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 25 | |
Kyösti Mälkki | cb08e16 | 2013-10-15 17:19:41 +0300 | [diff] [blame] | 26 | romstage-y += ram_calc.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 27 | romstage-y += raminit.c |
| 28 | romstage-y += mrccache.c |
| 29 | romstage-y += early_init.c |
| 30 | romstage-y += report_platform.c |
Stefan Reinauer | 6cb3a59 | 2015-07-13 09:39:15 +0200 | [diff] [blame] | 31 | romstage-y += ../../../arch/x86/walkcbfs.S |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 32 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 33 | smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c |
| 34 | |
| 35 | # We don't ship that, but booting without it is bound to fail |
| 36 | cbfs-files-$(CONFIG_HAVE_MRC) += mrc.bin |
| 37 | mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE)) |
| 38 | mrc.bin-position := 0xfffa0000 |
Martin Roth | 72a8e5e | 2015-03-24 16:02:27 -0600 | [diff] [blame] | 39 | mrc.bin-type := mrc |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 40 | |
Kyösti Mälkki | 2fcf6f1 | 2014-12-27 21:04:53 +0200 | [diff] [blame] | 41 | ifneq ($(CONFIG_CHROMEOS),y) |
| 42 | $(obj)/mrc.cache: $(obj)/config.h |
| 43 | dd if=/dev/zero count=1 \ |
| 44 | bs=$(shell printf "%d" $(CONFIG_MRC_CACHE_SIZE) ) | \ |
| 45 | tr '\000' '\377' > $@ |
| 46 | |
| 47 | cbfs-files-y += mrc.cache |
| 48 | mrc.cache-file := $(obj)/mrc.cache |
Alexandru Gagniuc | 2c482a9 | 2015-09-07 01:54:23 -0700 | [diff] [blame] | 49 | mrc.cache-align := 0x10000 |
Martin Roth | 72a8e5e | 2015-03-24 16:02:27 -0600 | [diff] [blame] | 50 | mrc.cache-type := mrc_cache |
Kyösti Mälkki | 2fcf6f1 | 2014-12-27 21:04:53 +0200 | [diff] [blame] | 51 | endif |
| 52 | |
Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 53 | endif |