1 # This file is part of the coreboot project.
3 # Copyright (C) 2018 Jonathan Neuschäfer
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; version 2 of the License.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 ifeq ($(CONFIG_SOC_SIFIVE_FU540),y)
17 bootblock-y += clint.c
18 bootblock-y += media.c
19 bootblock-y += bootblock.c
37 CPPFLAGS_common += -Isrc/soc/sifive/fu540/include
39 $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
40 @printf " GPT $(notdir $(@))\n"
41 @util/riscv/sifive-gpt.py $< $@