coreboot-kgpe-d16/src/soc/sifive/fu540/Makefile.inc
Philipp Hug 52a022f680 sifive/fu540: add empty sdram init and size functions
Change-Id: I65f900a3277bc8a4a83ebc8883d4a325bd690bf8
Signed-off-by: Philipp Hug <philipp@hug.cx>
Reviewed-on: https://review.coreboot.org/27438
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2018-07-18 07:54:54 +00:00

35 lines
989 B
Makefile

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