2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-10-04 06:46:02 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2017-04-25 18:44:48 +00:00
|
|
|
# Copyright (C) 2012-2017 Altera Corporation <www.altera.com>
|
2021-03-01 12:04:11 +00:00
|
|
|
# Copyright (C) 2017-2020 Intel Corporation <www.intel.com>
|
2012-10-04 06:46:02 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
obj-y += board.o
|
|
|
|
obj-y += clock_manager.o
|
|
|
|
obj-y += misc.o
|
2015-12-02 19:31:32 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
|
|
|
obj-y += clock_manager_gen5.o
|
|
|
|
obj-y += misc_gen5.o
|
|
|
|
obj-y += reset_manager_gen5.o
|
|
|
|
obj-y += scan_manager.o
|
|
|
|
obj-y += system_manager_gen5.o
|
2018-05-23 16:17:29 +00:00
|
|
|
obj-y += timer.o
|
2017-04-25 18:44:48 +00:00
|
|
|
obj-y += wrap_pll_config.o
|
2017-07-26 05:05:38 +00:00
|
|
|
obj-y += fpga_manager.o
|
2017-04-25 18:44:48 +00:00
|
|
|
endif
|
2017-04-25 18:44:38 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_ARRIA10
|
|
|
|
obj-y += clock_manager_arria10.o
|
|
|
|
obj-y += misc_arria10.o
|
|
|
|
obj-y += pinmux_arria10.o
|
|
|
|
obj-y += reset_manager_arria10.o
|
|
|
|
endif
|
2015-08-02 19:12:09 +00:00
|
|
|
|
2018-05-18 14:05:22 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_STRATIX10
|
|
|
|
obj-y += clock_manager_s10.o
|
2020-12-24 10:20:58 +00:00
|
|
|
obj-y += lowlevel_init_soc64.o
|
2018-05-23 16:17:25 +00:00
|
|
|
obj-y += mailbox_s10.o
|
2018-05-23 16:17:24 +00:00
|
|
|
obj-y += misc_s10.o
|
2018-05-23 16:17:26 +00:00
|
|
|
obj-y += mmu-arm64_s10.o
|
2018-05-18 14:05:23 +00:00
|
|
|
obj-y += reset_manager_s10.o
|
2021-03-24 05:11:36 +00:00
|
|
|
obj-y += system_manager_soc64.o
|
2018-05-23 16:17:29 +00:00
|
|
|
obj-y += timer_s10.o
|
2021-03-24 05:11:38 +00:00
|
|
|
obj-y += wrap_handoff_soc64.o
|
2021-03-24 05:11:35 +00:00
|
|
|
obj-y += wrap_pll_config_soc64.o
|
2018-05-18 14:05:22 +00:00
|
|
|
endif
|
2018-05-23 16:17:28 +00:00
|
|
|
|
2019-11-27 07:55:23 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_AGILEX
|
|
|
|
obj-y += clock_manager_agilex.o
|
2020-12-24 10:20:58 +00:00
|
|
|
obj-y += lowlevel_init_soc64.o
|
2019-11-27 07:55:32 +00:00
|
|
|
obj-y += mailbox_s10.o
|
|
|
|
obj-y += misc_s10.o
|
|
|
|
obj-y += mmu-arm64_s10.o
|
|
|
|
obj-y += reset_manager_s10.o
|
2021-03-01 12:04:11 +00:00
|
|
|
obj-$(CONFIG_SOCFPGA_SECURE_VAB_AUTH) += secure_vab.o
|
2021-03-24 05:11:36 +00:00
|
|
|
obj-y += system_manager_soc64.o
|
2019-11-27 07:55:32 +00:00
|
|
|
obj-y += timer_s10.o
|
2021-03-01 12:04:12 +00:00
|
|
|
obj-$(CONFIG_SOCFPGA_SECURE_VAB_AUTH) += vab.o
|
2021-03-24 05:11:38 +00:00
|
|
|
obj-y += wrap_handoff_soc64.o
|
2021-03-24 05:11:35 +00:00
|
|
|
obj-y += wrap_pll_config_soc64.o
|
2019-11-27 07:55:23 +00:00
|
|
|
endif
|
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
2018-05-23 16:17:27 +00:00
|
|
|
obj-y += spl_gen5.o
|
2017-04-25 18:44:48 +00:00
|
|
|
obj-y += freeze_controller.o
|
|
|
|
obj-y += wrap_iocsr_config.o
|
|
|
|
obj-y += wrap_pinmux_config.o
|
|
|
|
obj-y += wrap_sdram_config.o
|
|
|
|
endif
|
2018-05-23 16:17:27 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_ARRIA10
|
|
|
|
obj-y += spl_a10.o
|
|
|
|
endif
|
2018-05-23 16:17:28 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_STRATIX10
|
2019-11-27 07:55:15 +00:00
|
|
|
obj-y += firewall.o
|
2018-05-23 16:17:28 +00:00
|
|
|
obj-y += spl_s10.o
|
2021-03-15 07:59:16 +00:00
|
|
|
obj-y += spl_soc64.o
|
2018-05-23 16:17:28 +00:00
|
|
|
endif
|
2019-11-27 07:55:29 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_AGILEX
|
2019-11-27 07:55:32 +00:00
|
|
|
obj-y += firewall.o
|
2019-11-27 07:55:29 +00:00
|
|
|
obj-y += spl_agilex.o
|
2021-03-15 07:59:16 +00:00
|
|
|
obj-y += spl_soc64.o
|
2019-11-27 07:55:29 +00:00
|
|
|
endif
|
2020-12-24 10:21:00 +00:00
|
|
|
else
|
2020-12-24 10:21:02 +00:00
|
|
|
obj-$(CONFIG_SPL_ATF) += secure_reg_helper.o
|
2020-12-24 10:21:00 +00:00
|
|
|
obj-$(CONFIG_SPL_ATF) += smc_api.o
|
2017-04-25 18:44:48 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
2015-08-02 19:12:09 +00:00
|
|
|
# QTS-generated config file wrappers
|
|
|
|
CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)
|
|
|
|
CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR)
|
|
|
|
CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR)
|
|
|
|
CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR)
|
2017-04-25 18:44:48 +00:00
|
|
|
endif
|