summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/ibm/power9/Makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/ibm/power9/Makefile.mk b/src/soc/ibm/power9/Makefile.mk
index 84a40f9a34..f0ce2ead0e 100644
--- a/src/soc/ibm/power9/Makefile.mk
+++ b/src/soc/ibm/power9/Makefile.mk
@@ -14,4 +14,9 @@ ramstage-y += chip.c
ramstage-y += rom_media.c
ramstage-y += timer.c
+files_added:: $(obj)/coreboot.rom.ecc
+
+$(obj)/coreboot.rom.ecc: $(obj)/coreboot.rom | $(ECCTOOL)
+ $(ECCTOOL) --inject $< --output $@ --p8
+
endif