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# 10obj-y += timer.o 11obj-y += board.o 12obj-y += clock.o 13obj-y += cpu_info.o 14obj-y += dram_helpers.o 15obj-y += pinmux.o 16ifndef CONFIG_MACH_SUN9I 17obj-y += usb_phy.o 18endif 19obj-$(CONFIG_MACH_SUN6I) += prcm.o 20obj-$(CONFIG_MACH_SUN8I) += prcm.o 21obj-$(CONFIG_MACH_SUN9I) += prcm.o 22obj-$(CONFIG_MACH_SUN6I) += p2wi.o 23obj-$(CONFIG_MACH_SUN8I) += rsb.o 24obj-$(CONFIG_MACH_SUN9I) += rsb.o 25obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o 26obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o 27obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o 28obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o 29ifdef CONFIG_MACH_SUN8I_A83T 30obj-y += clock_sun8i_a83t.o 31else 32obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o 33endif 34obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o 35obj-$(CONFIG_MACH_SUN6I) += tzpc.o 36obj-$(CONFIG_MACH_SUN8I_H3) += tzpc.o 37 38obj-$(CONFIG_AXP152_POWER) += pmic_bus.o 39obj-$(CONFIG_AXP209_POWER) += pmic_bus.o 40obj-$(CONFIG_AXP221_POWER) += pmic_bus.o 41obj-$(CONFIG_AXP818_POWER) += pmic_bus.o 42 43ifndef CONFIG_SPL_BUILD 44ifdef CONFIG_ARMV7_PSCI 45obj-$(CONFIG_MACH_SUN6I) += psci_sun6i.o 46obj-$(CONFIG_MACH_SUN7I) += psci_sun7i.o 47obj-$(CONFIG_MACH_SUN8I) += psci_sun6i.o 48endif 49endif 50 51ifdef CONFIG_SPL_BUILD 52obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o 53obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o 54obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o 55obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o 56obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o 57obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o 58obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o 59obj-$(CONFIG_MACH_SUN8I_H3) += dram_sun8i_h3.o 60obj-y += fel_utils.o 61endif 62