src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / google / cyan / variants / terra / Makefile.inc
blobf00a49574eee3ee73430201278451b2bad6c873f
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ##
5 ## SPDX-License-Identifier: GPL-2.0-only
7 romstage-y += romstage.c
8 romstage-y += spd_util.c
10 ramstage-y += gpio.c
11 ramstage-y += ramstage.c
13 SPD_BIN = $(obj)/spd.bin
15 SPD_SOURCES =  samsung_dimm_K4E8E304EE-EGCE
16 SPD_SOURCES += samsung_dimm_K4E8E324EB-EGCF
17 SPD_SOURCES += micron_2GiB_dimm_EDF8132A3MA-GD-F-R
18 SPD_SOURCES += micron_2GiB_dimm_MT52L256M32D1PF-107WT
20 SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/spd/$(f).spd.hex)
22 # Include spd ROM data
23 $(SPD_BIN): $(SPD_DEPS)
24         for f in $+; \
25           do for c in $$(cat $$f | grep -v ^#); \
26             do printf $$(printf '\%o' 0x$$c); \
27           done; \
28         done > $@
30 cbfs-files-y += spd.bin
31 spd.bin-file := $(SPD_BIN)
32 spd.bin-type := spd