src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / google / cyan / variants / banon / Makefile.inc
blob1d62f5305ea602be120c20311ae13ae072a3a051
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
12 SPD_BIN = $(obj)/spd.bin
14 SPD_SOURCES =  samsung_2GiB_dimm_K4E8E304EE-EGCF
15 SPD_SOURCES += samsung_2GiB_dimm_K4E8E324EB-EGCF
16 SPD_SOURCES += empty
17 SPD_SOURCES += hynix_2GiB_dimm_H9CCNNN8GTMLAR-NUD
18 SPD_SOURCES += micron_2GiB_dimm_MT52L256M32D1PF
19 SPD_SOURCES += hynix_dimm_H9CCNNN8GTALAR-NUD
20 SPD_SOURCES += nanya_dimm_NT6CL256T32CM-H1
22 SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/spd/$(f).spd.hex)
24 # Include spd ROM data
25 $(SPD_BIN): $(SPD_DEPS)
26         for f in $+; \
27           do for c in $$(cat $$f | grep -v ^#); \
28             do printf $$(printf '\%o' 0x$$c); \
29           done; \
30         done > $@
32 cbfs-files-y += spd.bin
33 spd.bin-file := $(SPD_BIN)
34 spd.bin-type := spd