Ian Campbell | 49aeca3 | 2014-05-05 11:52:23 +0100 | [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 | obj-y += timer.o |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 11 | obj-y += board.o |
Ian Campbell | 49aeca3 | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 12 | obj-y += clock.o |
Hans de Goede | 6faddbc | 2014-11-15 23:18:18 +0100 | [diff] [blame] | 13 | obj-y += cpu_info.o |
Hans de Goede | dea16d2 | 2015-02-04 12:14:56 +0100 | [diff] [blame] | 14 | obj-y += dram_helpers.o |
Ian Campbell | b2765ec | 2014-05-05 11:52:24 +0100 | [diff] [blame] | 15 | obj-y += pinmux.o |
Hans de Goede | 7bfe2bb | 2015-01-13 19:25:06 +0100 | [diff] [blame] | 16 | ifndef CONFIG_MACH_SUN9I |
Hans de Goede | 26a9005 | 2015-04-27 15:05:10 +0200 | [diff] [blame] | 17 | obj-y += usb_phy.o |
Hans de Goede | 7bfe2bb | 2015-01-13 19:25:06 +0100 | [diff] [blame] | 18 | endif |
Ian Campbell | 8f32aaa | 2014-10-24 21:20:47 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_MACH_SUN6I) += prcm.o |
| 20 | obj-$(CONFIG_MACH_SUN8I) += prcm.o |
Hans de Goede | 8760c91 | 2015-01-26 16:46:43 +0100 | [diff] [blame] | 21 | obj-$(CONFIG_MACH_SUN9I) += prcm.o |
Oliver Schinagl | 4f9a008 | 2013-07-25 14:07:42 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_MACH_SUN6I) += p2wi.o |
Hans de Goede | 699415b | 2014-11-29 13:38:35 +0100 | [diff] [blame] | 23 | obj-$(CONFIG_MACH_SUN8I) += rsb.o |
Hans de Goede | 8760c91 | 2015-01-26 16:46:43 +0100 | [diff] [blame] | 24 | obj-$(CONFIG_MACH_SUN9I) += rsb.o |
Ian Campbell | 8f32aaa | 2014-10-24 21:20:47 +0100 | [diff] [blame] | 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 |
vishnupatekar | 39754b6 | 2015-11-29 01:07:24 +0800 | [diff] [blame^] | 29 | ifdef CONFIG_MACH_SUN8I_A83T |
| 30 | obj-y += clock_sun8i_a83t.o |
| 31 | else |
Ian Campbell | 8f32aaa | 2014-10-24 21:20:47 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o |
vishnupatekar | 39754b6 | 2015-11-29 01:07:24 +0800 | [diff] [blame^] | 33 | endif |
Hans de Goede | 29e04f8 | 2015-01-14 19:56:33 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o |
Chen-Yu Tsai | fcc7b70 | 2015-08-25 10:49:19 +0800 | [diff] [blame] | 35 | obj-$(CONFIG_MACH_SUN6I) += tzpc.o |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 36 | |
Hans de Goede | 858b6db | 2015-04-25 22:18:09 +0200 | [diff] [blame] | 37 | obj-$(CONFIG_AXP152_POWER) += pmic_bus.o |
| 38 | obj-$(CONFIG_AXP209_POWER) += pmic_bus.o |
Hans de Goede | bb930c3 | 2015-04-25 14:07:37 +0200 | [diff] [blame] | 39 | obj-$(CONFIG_AXP221_POWER) += pmic_bus.o |
vishnupatekar | 1895dfd | 2015-11-29 01:07:22 +0800 | [diff] [blame] | 40 | obj-$(CONFIG_AXP818_POWER) += pmic_bus.o |
Hans de Goede | bb930c3 | 2015-04-25 14:07:37 +0200 | [diff] [blame] | 41 | |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 42 | ifndef CONFIG_SPL_BUILD |
Marc Zyngier | 0237c63 | 2014-07-18 21:06:38 +0100 | [diff] [blame] | 43 | ifdef CONFIG_ARMV7_PSCI |
Chen-Yu Tsai | 4670eb4 | 2015-05-28 21:25:31 +0800 | [diff] [blame] | 44 | obj-$(CONFIG_MACH_SUN6I) += psci_sun6i.o |
Chen-Yu Tsai | d196fad | 2015-05-28 21:25:30 +0800 | [diff] [blame] | 45 | obj-$(CONFIG_MACH_SUN7I) += psci_sun7i.o |
Chen-Yu Tsai | 5b9f1aa | 2015-05-28 21:25:33 +0800 | [diff] [blame] | 46 | obj-$(CONFIG_MACH_SUN8I) += psci_sun6i.o |
Marc Zyngier | 0237c63 | 2014-07-18 21:06:38 +0100 | [diff] [blame] | 47 | endif |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 48 | endif |
| 49 | |
| 50 | ifdef CONFIG_SPL_BUILD |
Hans de Goede | 5037c45 | 2014-11-02 20:31:16 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o |
| 52 | obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o |
Hans de Goede | 3152122 | 2014-10-25 20:27:23 +0200 | [diff] [blame] | 53 | obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o |
Hans de Goede | 5037c45 | 2014-11-02 20:31:16 +0100 | [diff] [blame] | 54 | obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o |
Hans de Goede | f055ed6 | 2015-04-06 20:55:39 +0200 | [diff] [blame] | 55 | obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o |
Vishnu Patekar | 3702f14 | 2015-03-01 23:47:48 +0530 | [diff] [blame] | 56 | obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o |
Jens Kuske | 53f018e | 2015-11-17 15:12:59 +0100 | [diff] [blame] | 57 | obj-$(CONFIG_MACH_SUN8I_H3) += dram_sun8i_h3.o |
Simon Glass | 5debe1f | 2015-02-07 10:47:30 -0700 | [diff] [blame] | 58 | obj-y += fel_utils.o |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 59 | endif |