1# SPDX-License-Identifier: GPL-2.0-only 2 3ifeq ($(CONFIG_SOC_SIFIVE_FU540),y) 4 5bootblock-y += uart.c 6bootblock-y += clint.c 7bootblock-y += spi.c 8bootblock-y += bootblock.c 9bootblock-y += clock.c 10 11romstage-y += uart.c 12romstage-y += clint.c 13romstage-y += spi.c 14romstage-y += sdram.c 15romstage-y += cbmem.c 16romstage-y += otp.c 17romstage-y += clock.c 18 19ramstage-y += uart.c 20ramstage-y += clint.c 21ramstage-y += spi.c 22ramstage-y += sdram.c 23ramstage-y += cbmem.c 24ramstage-y += otp.c 25ramstage-y += clock.c 26ramstage-y += chip.c 27 28CPPFLAGS_common += -Isrc/soc/sifive/fu540/include 29 30$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin 31 @printf " GPT $(notdir $(@))\n" 32 @util/riscv/sifive-gpt.py $< $@ 33 34endif 35