blob: 86c90dfb7765f7d22707a8356ed80bb3f4bf89ee [file] [log] [blame]
Maximilian Brune2ccb8e72024-01-14 21:59:27 +06001# SPDX-License-Identifier: GPL-2.0-only
2
3ifeq ($(CONFIG_SOC_SIFIVE_FU740),y)
4
5CPPFLAGS_common += -Isrc/soc/sifive/fu740/include
6
7bootblock-y += uart.c
8bootblock-y += clint.c
9bootblock-y += spi.c
10bootblock-y += sdram.c
11bootblock-y += cbmem.c
12bootblock-y += otp.c
13bootblock-y += clock.c
14bootblock-y += ddrregs.c
15bootblock-y += chip.c
16bootblock-y += gpio.c
17
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
28$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
29 @printf " GPT $(notdir $(@))\n"
30 @util/riscv/sifive-gpt.py $< $@
31
32endif