2016-01-02 03:08:48 +01:00
|
|
|
#
|
|
|
|
# This file is part of the coreboot project.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2015-2016 Intel Corporation.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_SOC_INTEL_QUARK),y)
|
|
|
|
|
2016-02-02 16:17:06 +01:00
|
|
|
subdirs-y += romstage
|
2016-01-02 03:08:48 +01:00
|
|
|
subdirs-y += ../../../cpu/x86/tsc
|
|
|
|
|
|
|
|
romstage-y += memmap.c
|
2016-02-07 23:37:13 +01:00
|
|
|
romstage-y += tsc_freq.c
|
2016-02-17 17:47:58 +01:00
|
|
|
romstage-$(CONFIG_ENABLE_BUILTIN_HSUART1) += uart_common.c
|
2016-01-02 03:08:48 +01:00
|
|
|
|
2016-02-21 02:15:33 +01:00
|
|
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
|
2016-02-08 16:12:30 +01:00
|
|
|
ramstage-y += chip.c
|
2016-01-02 03:08:48 +01:00
|
|
|
ramstage-y += memmap.c
|
2016-02-15 00:10:35 +01:00
|
|
|
ramstage-y += northcluster.c
|
2016-02-22 01:04:53 +01:00
|
|
|
ramstage-y += pmc.c
|
2016-02-07 23:37:13 +01:00
|
|
|
ramstage-y += tsc_freq.c
|
2016-02-17 17:47:58 +01:00
|
|
|
ramstage-$(CONFIG_ENABLE_BUILTIN_HSUART1) += uart_common.c
|
2016-02-07 23:37:13 +01:00
|
|
|
ramstage-$(CONFIG_ENABLE_BUILTIN_HSUART1) += uart.c
|
2016-01-02 03:08:48 +01:00
|
|
|
|
2016-02-08 16:12:30 +01:00
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/quark
|
2016-01-02 03:08:48 +01:00
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/quark/include
|
|
|
|
|
|
|
|
# Chipset microcode path
|
|
|
|
CPPFLAGS_common += -I3rdparty/blobs/soc/intel/quark
|
|
|
|
|
2016-02-07 19:42:14 +01:00
|
|
|
# Add the FSP binary to the CBFS image
|
|
|
|
cbfs-files-$(CONFIG_ADD_FSP_RAW_BIN) += fsp.bin
|
|
|
|
fsp.bin-file := $(call strip_quotes,$(CONFIG_FSP_FILE))
|
|
|
|
fsp.bin-position := $(CONFIG_FSP_LOC)
|
|
|
|
fsp.bin-type := raw
|
|
|
|
|
|
|
|
# Add the platform data file to the CBFS image
|
|
|
|
cbfs-files-$(CONFIG_ADD_FSP_PDAT_FILE) += pdat.bin
|
|
|
|
pdat.bin-file := $(call strip_quotes,$(CONFIG_FSP_PDAT_FILE))
|
|
|
|
pdat.bin-position := $(CONFIG_FSP_PDAT_LOC)
|
|
|
|
pdat.bin-type := raw
|
|
|
|
|
2016-02-02 16:17:06 +01:00
|
|
|
# Add the chipset microcode file to the CBFS image
|
|
|
|
cbfs-files-$(CONFIG_ADD_RMU_FILE) += rmu.bin
|
|
|
|
rmu.bin-file := $(call strip_quotes,$(CONFIG_RMU_FILE))
|
|
|
|
rmu.bin-position := $(CONFIG_RMU_LOC)
|
|
|
|
rmu.bin-type := raw
|
|
|
|
|
2016-01-02 03:08:48 +01:00
|
|
|
endif # CONFIG_SOC_INTEL_QUARK
|