Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Alexander Graf | 8dd84a7 | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net> |
| 4 | # |
| 5 | # Based on some other Makefile |
| 6 | # (C) Copyright 2000-2003 |
| 7 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Alexander Graf | 8dd84a7 | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 8 | |
| 9 | obj-y += board.o |
| 10 | obj-y += clock.o |
| 11 | obj-y += cpu_info.o |
| 12 | obj-y += dram_helpers.o |
Jagan Teki | 932f5e0 | 2018-01-11 13:21:15 +0530 | [diff] [blame] | 13 | obj-$(CONFIG_SUN6I_PRCM) += prcm.o |
Jagan Teki | feb2927 | 2018-02-14 22:28:30 +0530 | [diff] [blame] | 14 | obj-$(CONFIG_AXP_PMIC_BUS) += pmic_bus.o |
Icenowy Zheng | 8701e10 | 2022-01-29 10:23:04 -0500 | [diff] [blame] | 15 | obj-$(CONFIG_MACH_SUNIV) += clock_sun6i.o |
Alexander Graf | 8dd84a7 | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o |
| 17 | obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o |
| 18 | obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o |
| 19 | obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o |
Siarhei Siamashka | 26c50fb | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o |
Alexander Graf | 8dd84a7 | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 21 | ifdef CONFIG_MACH_SUN8I_A83T |
| 22 | obj-y += clock_sun8i_a83t.o |
| 23 | else |
| 24 | obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o |
| 25 | endif |
Philipp Tomsich | 3015e04 | 2016-10-28 18:21:29 +0800 | [diff] [blame] | 26 | obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o |
Jernej Skrabec | da8ae61 | 2021-01-11 21:11:34 +0100 | [diff] [blame] | 27 | obj-$(CONFIG_SUN50I_GEN_H6) += clock_sun50i_h6.o |
Andre Przywara | 068962b | 2022-10-05 17:54:19 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_SUNXI_GEN_NCAT2) += clock_sun50i_h6.o |
Jesse Taube | c339098 | 2022-01-29 10:23:01 -0500 | [diff] [blame] | 29 | ifndef CONFIG_ARM64 |
| 30 | obj-y += timer.o |
| 31 | endif |
Alexander Graf | 8dd84a7 | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 32 | |
Alexander Graf | 8dd84a7 | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 33 | ifdef CONFIG_SPL_BUILD |
Icenowy Zheng | 8701e10 | 2022-01-29 10:23:04 -0500 | [diff] [blame] | 34 | obj-$(CONFIG_MACH_SUNIV) += dram_suniv.o |
Jagan Teki | 3994b1e | 2018-01-10 16:03:34 +0530 | [diff] [blame] | 35 | obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o |
Jagan Teki | 68d0f5f | 2018-03-17 00:16:36 +0530 | [diff] [blame] | 36 | obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o |
Jagan Teki | 318e4e5 | 2018-01-10 16:15:14 +0530 | [diff] [blame] | 37 | obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o |
Jagan Teki | e624d4c | 2018-01-10 16:17:39 +0530 | [diff] [blame] | 38 | obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o |
Jagan Teki | 270a6f6 | 2018-01-10 16:20:26 +0530 | [diff] [blame] | 39 | obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o |
Jagan Teki | 6aa7f71 | 2018-03-17 00:18:01 +0530 | [diff] [blame] | 40 | obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o |
Jagan Teki | 4e159f8 | 2018-02-06 22:42:56 +0530 | [diff] [blame] | 41 | obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o |
Icenowy Zheng | ca0bc02 | 2017-06-03 17:10:14 +0800 | [diff] [blame] | 42 | obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o |
Icenowy Zheng | f09b48e | 2017-06-03 17:10:18 +0800 | [diff] [blame] | 43 | obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/ |
Icenowy Zheng | 4e287f6 | 2018-07-23 06:13:34 +0800 | [diff] [blame] | 44 | obj-$(CONFIG_DRAM_SUN50I_H6) += dram_sun50i_h6.o |
Andre Przywara | 1c7a751 | 2019-07-15 02:27:06 +0100 | [diff] [blame] | 45 | obj-$(CONFIG_DRAM_SUN50I_H6) += dram_timings/ |
Jernej Skrabec | e4aa24b | 2021-01-11 21:11:43 +0100 | [diff] [blame] | 46 | obj-$(CONFIG_DRAM_SUN50I_H616) += dram_sun50i_h616.o |
| 47 | obj-$(CONFIG_DRAM_SUN50I_H616) += dram_timings/ |
Alexander Graf | 8dd84a7 | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 48 | endif |