src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / google / cyan / variants / reks / Makefile.inc
blob3f07ef6038f7784fb9f43e70002039e479cd26a1
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_2GiB_dimm_K4E8E304EE-EGCF
16 SPD_SOURCES += hynix_2GiB_dimm_H9CCNNN8GTMLAR-NUD
17 SPD_SOURCES += micron_2GiB_dimm_MT52L256M32D1PF
18 SPD_SOURCES += samsung_2GiB_dimm_K4E8E324EB-EGCF
19 SPD_SOURCES += micron_2GiB_dimm_EDF8132A3MA-JD-F
21 SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/spd/$(f).spd.hex)
23 # Include spd ROM data
24 $(SPD_BIN): $(SPD_DEPS)
25         for f in $+; \
26           do for c in $$(cat $$f | grep -v ^#); \
27             do printf $$(printf '\%o' 0x$$c); \
28           done; \
29         done > $@
31 cbfs-files-y += spd.bin
32 spd.bin-file := $(SPD_BIN)
33 spd.bin-type := spd