Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2003 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 5 | # |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 6 | # Copyright (C) 2012-2017 Altera Corporation <www.altera.com> |
Dinh Nguyen | 7775440 | 2012-10-04 06:46:02 +0000 | [diff] [blame] | 7 | |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 8 | obj-y += board.o |
| 9 | obj-y += clock_manager.o |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 10 | obj-y += misc.o |
Dinh Nguyen | e5ad7d9 | 2015-12-02 13:31:32 -0600 | [diff] [blame] | 11 | |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 12 | ifdef CONFIG_TARGET_SOCFPGA_GEN5 |
| 13 | obj-y += clock_manager_gen5.o |
| 14 | obj-y += misc_gen5.o |
| 15 | obj-y += reset_manager_gen5.o |
| 16 | obj-y += scan_manager.o |
| 17 | obj-y += system_manager_gen5.o |
Ley Foon Tan | 73aede5 | 2018-05-24 00:17:29 +0800 | [diff] [blame] | 18 | obj-y += timer.o |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 19 | obj-y += wrap_pll_config.o |
Tien Fong Chee | 6867e19 | 2017-07-26 13:05:38 +0800 | [diff] [blame] | 20 | obj-y += fpga_manager.o |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 21 | endif |
Ley Foon Tan | 827e6a7 | 2017-04-26 02:44:38 +0800 | [diff] [blame] | 22 | |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 23 | ifdef CONFIG_TARGET_SOCFPGA_ARRIA10 |
| 24 | obj-y += clock_manager_arria10.o |
| 25 | obj-y += misc_arria10.o |
| 26 | obj-y += pinmux_arria10.o |
| 27 | obj-y += reset_manager_arria10.o |
| 28 | endif |
Marek Vasut | ca62d2e | 2015-08-02 21:12:09 +0200 | [diff] [blame] | 29 | |
Ley Foon Tan | 508791a | 2018-05-18 22:05:22 +0800 | [diff] [blame] | 30 | ifdef CONFIG_TARGET_SOCFPGA_STRATIX10 |
| 31 | obj-y += clock_manager_s10.o |
Ley Foon Tan | a280e9d | 2018-05-24 00:17:25 +0800 | [diff] [blame] | 32 | obj-y += mailbox_s10.o |
Ley Foon Tan | d559130 | 2018-05-24 00:17:24 +0800 | [diff] [blame] | 33 | obj-y += misc_s10.o |
Ley Foon Tan | 914a84e | 2018-05-24 00:17:26 +0800 | [diff] [blame] | 34 | obj-y += mmu-arm64_s10.o |
Ley Foon Tan | 3607a80 | 2018-05-18 22:05:23 +0800 | [diff] [blame] | 35 | obj-y += reset_manager_s10.o |
Ley Foon Tan | 73175d0 | 2018-05-18 22:05:24 +0800 | [diff] [blame] | 36 | obj-y += system_manager_s10.o |
Ley Foon Tan | 73aede5 | 2018-05-24 00:17:29 +0800 | [diff] [blame] | 37 | obj-y += timer_s10.o |
Ley Foon Tan | 73175d0 | 2018-05-18 22:05:24 +0800 | [diff] [blame] | 38 | obj-y += wrap_pinmux_config_s10.o |
Ley Foon Tan | 508791a | 2018-05-18 22:05:22 +0800 | [diff] [blame] | 39 | obj-y += wrap_pll_config_s10.o |
| 40 | endif |
Ley Foon Tan | 4765ddb | 2018-05-24 00:17:28 +0800 | [diff] [blame] | 41 | |
Ley Foon Tan | b4a20cb | 2019-11-27 15:55:23 +0800 | [diff] [blame] | 42 | ifdef CONFIG_TARGET_SOCFPGA_AGILEX |
| 43 | obj-y += clock_manager_agilex.o |
| 44 | endif |
| 45 | |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 46 | ifdef CONFIG_SPL_BUILD |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 47 | ifdef CONFIG_TARGET_SOCFPGA_GEN5 |
Ley Foon Tan | c859f2a | 2018-05-24 00:17:27 +0800 | [diff] [blame] | 48 | obj-y += spl_gen5.o |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 49 | obj-y += freeze_controller.o |
| 50 | obj-y += wrap_iocsr_config.o |
| 51 | obj-y += wrap_pinmux_config.o |
| 52 | obj-y += wrap_sdram_config.o |
| 53 | endif |
Ley Foon Tan | c859f2a | 2018-05-24 00:17:27 +0800 | [diff] [blame] | 54 | ifdef CONFIG_TARGET_SOCFPGA_ARRIA10 |
| 55 | obj-y += spl_a10.o |
| 56 | endif |
Ley Foon Tan | 4765ddb | 2018-05-24 00:17:28 +0800 | [diff] [blame] | 57 | ifdef CONFIG_TARGET_SOCFPGA_STRATIX10 |
Ley Foon Tan | 8b7962a | 2019-11-27 15:55:15 +0800 | [diff] [blame] | 58 | obj-y += firewall.o |
Ley Foon Tan | 4765ddb | 2018-05-24 00:17:28 +0800 | [diff] [blame] | 59 | obj-y += spl_s10.o |
| 60 | endif |
Ley Foon Tan | 594cacf | 2019-11-27 15:55:29 +0800 | [diff] [blame^] | 61 | ifdef CONFIG_TARGET_SOCFPGA_AGILEX |
| 62 | obj-y += spl_agilex.o |
| 63 | endif |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 64 | endif |
| 65 | |
| 66 | ifdef CONFIG_TARGET_SOCFPGA_GEN5 |
Marek Vasut | ca62d2e | 2015-08-02 21:12:09 +0200 | [diff] [blame] | 67 | # QTS-generated config file wrappers |
Marek Vasut | ca62d2e | 2015-08-02 21:12:09 +0200 | [diff] [blame] | 68 | CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR) |
| 69 | CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR) |
| 70 | CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR) |
| 71 | CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR) |
Ley Foon Tan | d89e979 | 2017-04-26 02:44:48 +0800 | [diff] [blame] | 72 | endif |