src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / bap / ode_e21XX / Makefile.inc
blob647f93925dc9dcca35c75f475eed11810c54c2f9
2 # This file is part of the coreboot project.
5 # SPDX-License-Identifier: GPL-2.0-only
7 romstage-y += BiosCallOuts.c
8 romstage-y += OemCustomize.c
10 ramstage-y += BiosCallOuts.c
11 ramstage-y += OemCustomize.c
13 ## DIMM SPD for on-board memory
14 SPD_BIN = $(obj)/spd.bin
16 # Order of names in SPD_SOURCES is important!
17 SPD_SOURCES  = BAP_Q7_800 BAP_Q7_1066 BAP_Q7_1333
19 SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/$(f).spd.hex)
21 # Include spd ROM data
22 $(SPD_BIN): $(SPD_DEPS)
23         for f in $+; \
24           do for c in $$(cat $$f | grep -v ^#); \
25             do printf $$(printf '\%o' 0x$$c); \
26           done; \
27         done > $@
29 cbfs-files-y += spd.bin
30 spd.bin-file := $(SPD_BIN)
31 spd.bin-type := spd