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