summaryrefslogtreecommitdiff
path: root/src/soc/ibm/power9/Makefile.mk
blob: f0ce2ead0e2f1420c48fdd1ac7d0a3de3d8585c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## SPDX-License-Identifier: GPL-2.0-only

ifeq ($(CONFIG_SOC_IBM_POWER9),y)

bootblock-y += bootblock.c
bootblock-y += rom_media.c

romstage-y += cbmem.c
romstage-y += rom_media.c
romstage-y += romstage.c

ramstage-y += cbmem.c
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