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>
This commit is contained in:
Chen-Yu Tsai 2015-05-28 21:25:30 +08:00 committed by Hans de Goede
parent 4ffd624512
commit d4611aff4d
2 changed files with 1 additions and 1 deletions

View File

@ -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