Alexander Graf | e6e505b | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net> |
| 3 | # |
| 4 | # Based on some other Makefile |
| 5 | # (C) Copyright 2000-2003 |
| 6 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 7 | # |
| 8 | # SPDX-License-Identifier: GPL-2.0+ |
| 9 | # |
| 10 | |
| 11 | obj-y += board.o |
| 12 | obj-y += clock.o |
| 13 | obj-y += cpu_info.o |
| 14 | obj-y += dram_helpers.o |
| 15 | obj-y += pinmux.o |
| 16 | ifndef CONFIG_MACH_SUN9I |
| 17 | obj-y += usb_phy.o |
| 18 | endif |
Jagan Teki | 71d9edf | 2018-01-11 13:21:58 +0530 | [diff] [blame] | 19 | obj-$(CONFIG_SUN6I_P2WI) += p2wi.o |
Jagan Teki | 2aa697a | 2018-01-11 13:21:15 +0530 | [diff] [blame] | 20 | obj-$(CONFIG_SUN6I_PRCM) += prcm.o |
Jagan Teki | 6f6f883 | 2018-01-11 13:23:52 +0530 | [diff] [blame^] | 21 | obj-$(CONFIG_SUN8I_RSB) += rsb.o |
Alexander Graf | e6e505b | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o |
| 23 | obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o |
| 24 | obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o |
| 25 | obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o |
Alexander Graf | e6e505b | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 27 | ifdef CONFIG_MACH_SUN8I_A83T |
| 28 | obj-y += clock_sun8i_a83t.o |
| 29 | else |
| 30 | obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o |
| 31 | endif |
Philipp Tomsich | ea1af9f | 2016-10-28 18:21:29 +0800 | [diff] [blame] | 32 | obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o |
Alexander Graf | e6e505b | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 33 | |
| 34 | obj-$(CONFIG_AXP152_POWER) += pmic_bus.o |
| 35 | obj-$(CONFIG_AXP209_POWER) += pmic_bus.o |
| 36 | obj-$(CONFIG_AXP221_POWER) += pmic_bus.o |
Chen-Yu Tsai | 795857d | 2016-05-02 10:28:15 +0800 | [diff] [blame] | 37 | obj-$(CONFIG_AXP809_POWER) += pmic_bus.o |
Alexander Graf | e6e505b | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 38 | obj-$(CONFIG_AXP818_POWER) += pmic_bus.o |
| 39 | |
| 40 | ifdef CONFIG_SPL_BUILD |
| 41 | obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o |
| 42 | obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o |
| 43 | obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o |
| 44 | obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o |
| 45 | obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o |
| 46 | obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o |
| 47 | obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o |
Jagan Teki | c2a7a7e | 2018-02-06 22:42:56 +0530 | [diff] [blame] | 48 | obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o |
Icenowy Zheng | 9934aba | 2017-06-03 17:10:14 +0800 | [diff] [blame] | 49 | obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o |
Icenowy Zheng | f6457ce | 2017-06-03 17:10:18 +0800 | [diff] [blame] | 50 | obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/ |
Philipp Tomsich | 297bb9e | 2016-10-28 18:21:28 +0800 | [diff] [blame] | 51 | obj-$(CONFIG_MACH_SUN9I) += dram_sun9i.o |
Alexander Graf | e6e505b | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 52 | endif |