ARM: rockchip: no build mach-rockchip when CONFIG_ARM_PSCI

There is not need to build mach-rockchip when PSCI is enabled.
Save about 5K text, 7K data and fix compilation error for THUMB2_KERNEL.

Change-Id: Ieb17867592d7d49a8b983dc5c7e8d1d1df14d864
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2018-05-24 14:15:04 +08:00
parent aa5ccab207
commit 4f023b9655
+2
View File
@@ -206,7 +206,9 @@ machine-$(CONFIG_ARCH_QCOM) += qcom
machine-$(CONFIG_ARCH_RDA) += rda
machine-$(CONFIG_ARCH_REALTEK) += realtek
machine-$(CONFIG_ARCH_REALVIEW) += realview
ifndef CONFIG_ARM_PSCI
machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip
endif
machine-$(CONFIG_ARCH_RPC) += rpc
machine-$(CONFIG_PLAT_SAMSUNG) += s3c
machine-$(CONFIG_ARCH_S5PV210) += s5pv210