mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
6867e19a43
Move FPGA driver which is Gen5 specific code into Gen5 driver file and keeping common FPGA driver intact. All the changes are still keeping in driver/fpga/ and no functional change. Subsequent patch would move FPGA manager driver from arch/arm into driver/fpga/. Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com> Reviewed-by: Dinh Nguyen <dinguyen@kernel.org>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
#
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# Copyright (C) 2012-2017 Altera Corporation <www.altera.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += board.o
|
|
obj-y += clock_manager.o
|
|
obj-y += misc.o
|
|
obj-y += reset_manager.o
|
|
obj-y += timer.o
|
|
|
|
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
|
|
obj-y += wrap_pll_config.o
|
|
obj-y += fpga_manager.o
|
|
endif
|
|
|
|
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
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl.o
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
|
obj-y += freeze_controller.o
|
|
obj-y += wrap_iocsr_config.o
|
|
obj-y += wrap_pinmux_config.o
|
|
obj-y += wrap_sdram_config.o
|
|
endif
|
|
endif
|
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
|
# 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)
|
|
endif
|