summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-26 18:33:57 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-28 02:17:03 +0900
commit4b4af643faae284acf2766635d6820291ecabe6d (patch)
treeb092acacdc85d01e42cdc7c637ce83617f00ab66 /arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile
parent85bafb6da4dddfffa78479aa49a72ae48578a4ce (diff)
ARM: UniPhier: do not compile platform data when CONFIG_OF_CONTROL=y
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile')
-rw-r--r--arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile b/arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile
index fba1cc7498..5d682d3ca3 100644
--- a/arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile
+++ b/arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile
@@ -3,7 +3,7 @@
#
obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o
-obj-y += platdevice.o
+obj-$(if $(CONFIG_OF_CONTROL),,y) += platdevice.o
obj-y += boot-mode.o
obj-$(CONFIG_SOC_INIT) += bcu_init.o sbc_init.o sg_init.o pll_init.o \
clkrst_init.o