summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/sunxi/Makefile
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-05-28 21:25:30 +0800
committerHans de Goede <hdegoede@redhat.com>2015-05-29 13:46:36 +0200
commitd4611aff4d17010d0d753a92d9e887035dc4eae5 (patch)
tree2d585b4214b9d89e67631de61fabd3a4b4916bb1 /arch/arm/cpu/armv7/sunxi/Makefile
parent4ffd62451243c226709924c1459935739478231c (diff)
downloadu-boot-imx-d4611aff4d17010d0d753a92d9e887035dc4eae5.zip
u-boot-imx-d4611aff4d17010d0d753a92d9e887035dc4eae5.tar.gz
u-boot-imx-d4611aff4d17010d0d753a92d9e887035dc4eae5.tar.bz2
ARM: sunxi: Make PSCI code sun7i specific
The PSCI code only works for sun7i. Rename it with _sun7i suffix, and build only if building for sun7i. This paves the way for adding PSCI support for other platforms. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/Makefile')
-rw-r--r--arch/arm/cpu/armv7/sunxi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/Makefile b/arch/arm/cpu/armv7/sunxi/Makefile
index 7ef6b4c..85fbc85 100644
--- a/arch/arm/cpu/armv7/sunxi/Makefile
+++ b/arch/arm/cpu/armv7/sunxi/Makefile
@@ -35,7 +35,7 @@ obj-$(CONFIG_AXP221_POWER) += pmic_bus.o
ifndef CONFIG_SPL_BUILD
ifdef CONFIG_ARMV7_PSCI
-obj-y += psci.o
+obj-$(CONFIG_MACH_SUN7I) += psci_sun7i.o
endif
endif