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 |
| 19 | obj-$(CONFIG_MACH_SUN6I) += prcm.o |
| 20 | obj-$(CONFIG_MACH_SUN8I) += prcm.o |
| 21 | obj-$(CONFIG_MACH_SUN9I) += prcm.o |
| 22 | obj-$(CONFIG_MACH_SUN6I) += p2wi.o |
| 23 | obj-$(CONFIG_MACH_SUN8I) += rsb.o |
| 24 | obj-$(CONFIG_MACH_SUN9I) += rsb.o |
| 25 | obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o |
| 26 | obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o |
| 27 | obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o |
| 28 | obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 29 | obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o |
Alexander Graf | e6e505b | 2016-03-29 17:29:06 +0200 | [diff] [blame] | 30 | ifdef CONFIG_MACH_SUN8I_A83T |
| 31 | obj-y += clock_sun8i_a83t.o |
| 32 | else |
| 33 | obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o |
| 34 | endif |
| 35 | obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o |
| 36 | |
| 37 | obj-$(CONFIG_AXP152_POWER) += pmic_bus.o |
| 38 | obj-$(CONFIG_AXP209_POWER) += pmic_bus.o |
| 39 | obj-$(CONFIG_AXP221_POWER) += pmic_bus.o |
| 40 | obj-$(CONFIG_AXP818_POWER) += pmic_bus.o |
| 41 | |
| 42 | ifdef CONFIG_SPL_BUILD |
| 43 | obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o |
| 44 | obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o |
| 45 | obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o |
| 46 | obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o |
| 47 | obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o |
| 48 | obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o |
| 49 | obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o |
| 50 | obj-$(CONFIG_MACH_SUN8I_H3) += dram_sun8i_h3.o |
| 51 | endif |