diff options
author | Kamil Wcislo <kamil.wcislo@3mdeb.com> | 2017-10-12 11:11:07 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-10-16 00:13:03 +0000 |
commit | c5d3944ad5d6f7ad987fece6b8672394326f4678 (patch) | |
tree | 8c7f1d96e12c115aec669ad8d1948bbc27f93230 /src/mainboard/pcengines/apu2/Makefile.inc | |
parent | a5f225f288a6f1bf1db0885bdc9635f2bf185374 (diff) |
mainboard/pcengines/apu2: use GENERIC_SPD_BIN
Use GENERIC_SPD_BIN method of adding the SPD bins to final rom.
Change-Id: I242e393bafac41aa7743f83b52cadf027019ee6e
Signed-off-by: Kamil Wcislo <kamil.wcislo@3mdeb.com>
Reviewed-on: https://review.coreboot.org/21980
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/pcengines/apu2/Makefile.inc')
-rw-r--r-- | src/mainboard/pcengines/apu2/Makefile.inc | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/mainboard/pcengines/apu2/Makefile.inc b/src/mainboard/pcengines/apu2/Makefile.inc index 77c6d789c3..3724b1748e 100644 --- a/src/mainboard/pcengines/apu2/Makefile.inc +++ b/src/mainboard/pcengines/apu2/Makefile.inc @@ -21,22 +21,6 @@ ramstage-y += BiosCallOuts.c ramstage-y += OemCustomize.c ramstage-y += gpio_ftns.c -## DIMM SPD for on-board memory -SPD_BIN = $(obj)/spd.bin - # Order of names in SPD_SOURCES is important! -SPD_SOURCES = HYNIX-2G-1333 HYNIX-4G-1333-ECC - -SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/$(f).spd.hex) - -# Include spd rom data -$(SPD_BIN): $(SPD_DEPS) - for f in $+; \ - do for c in $$(cat $$f | grep -v ^#); \ - do printf $$(printf '\%o' 0x$$c); \ - done; \ - done > $@ - -cbfs-files-y += spd.bin -spd.bin-file := $(SPD_BIN) -spd.bin-type := spd +SPD_SOURCES = HYNIX-2G-1333 +SPD_SOURCES += HYNIX-4G-1333-ECC |