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