| 1 |
|
| 2 |
|
| 3 |
ifeq ($(CONFIG_SOC_SIFIVE_FU540),y) |
| 4 |
|
| 5 |
bootblock-y += uart.c |
| 6 |
bootblock-y += clint.c |
| 7 |
bootblock-y += spi.c |
| 8 |
bootblock-y += bootblock.c |
| 9 |
bootblock-y += clock.c |
| 10 |
|
| 11 |
romstage-y += uart.c |
| 12 |
romstage-y += clint.c |
| 13 |
romstage-y += spi.c |
| 14 |
romstage-y += sdram.c |
| 15 |
romstage-y += cbmem.c |
| 16 |
romstage-y += otp.c |
| 17 |
romstage-y += clock.c |
| 18 |
|
| 19 |
ramstage-y += uart.c |
| 20 |
ramstage-y += clint.c |
| 21 |
ramstage-y += spi.c |
| 22 |
ramstage-y += sdram.c |
| 23 |
ramstage-y += cbmem.c |
| 24 |
ramstage-y += otp.c |
| 25 |
ramstage-y += clock.c |
| 26 |
ramstage-y += chip.c |
| 27 |
|
| 28 |
CPPFLAGS_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 |
|
| 34 |
endif |