blob: 48ac522dddcd906b1f07203122c9780a9f875d2e [file] [log] [blame]
Martin Roth829c41d2014-05-21 14:21:22 -06001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2010 Google Inc.
5## Copyright (C) 2013-2014 Sage Electronic Engineering, LLC.
6##
7## This program is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation; version 2 of the License.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
17## along with this program; if not, write to the Free Software
18## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19##
20
21# Run an intermediate step when producing coreboot.rom
22# that adds additional components to the final firmware
23# image outside of CBFS
24
25ramstage-y += soc.c
26ramstage-y += lpc.c
27ramstage-y += sata.c
28ramstage-y += reset.c
29ramstage-y += watchdog.c
30ramstage-y += spi.c
31ramstage-y += smbus.c
Vladimir Serbinenko822bc652014-01-03 15:55:40 +010032ramstage-y += acpi.c
Martin Roth829c41d2014-05-21 14:21:22 -060033
34romstage-y += early_usb.c early_smbus.c gpio.c reset.c early_spi.c early_init.c
35romstage-y += romstage.c
36
37romstage-$(CONFIG_USBDEBUG) += usb_debug.c
38ramstage-$(CONFIG_USBDEBUG) += usb_debug.c
39
Martin Roth829c41d2014-05-21 14:21:22 -060040
41ifeq ($(CONFIG_INCLUDE_ME),y)
42INTERMEDIATE+=rangeley_add_descriptor
43
44rangeley_add_descriptor: $(obj)/coreboot.pre $(IFDTOOL)
45 printf " DD Adding Intel Firmware Descriptor\n"
46 dd if=$(call strip_quotes,$(CONFIG_ME_PATH))/descriptor.bin \
47 of=$(obj)/coreboot.pre conv=notrunc >/dev/null 2>&1
48endif
49
50PHONY += rangeley_add_descriptor