summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-07-09 19:48:42 +0300
committerTom Rini <trini@ti.com>2014-07-25 16:26:09 -0400
commit35c547c2bc59dd63cdf76f81abe26f68e9eaf7fb (patch)
tree07e76b3bfb07e5919b745004e2a2e28890d079d8 /arch/arm/cpu/armv7
parent101eec50f021a354487a511dc1f72691404b2b48 (diff)
downloadtalos-obmc-uboot-35c547c2bc59dd63cdf76f81abe26f68e9eaf7fb.tar.gz
talos-obmc-uboot-35c547c2bc59dd63cdf76f81abe26f68e9eaf7fb.zip
ARM: keystone2: keystone_nav: make it dependent on keystone driver
This driver is needed in case if keystone driver is used. Currently only keystone_net driver uses it. So to avoid redundant code compilation make the keystone_nav dependent on keystone net driver. It also leads to compilation errors for boards that does't use it. Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r--arch/arm/cpu/armv7/keystone/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/keystone/Makefile b/arch/arm/cpu/armv7/keystone/Makefile
index c4af252110..02ecf7e22c 100644
--- a/arch/arm/cpu/armv7/keystone/Makefile
+++ b/arch/arm/cpu/armv7/keystone/Makefile
@@ -10,7 +10,7 @@ obj-y += psc.o
obj-y += clock.o
obj-y += cmd_clock.o
obj-y += cmd_mon.o
-obj-y += keystone_nav.o
+obj-$(CONFIG_DRIVER_TI_KEYSTONE_NET) += keystone_nav.o
obj-y += msmc.o
obj-$(CONFIG_SPL_BUILD) += spl.o
obj-y += ddr3.o
OpenPOWER on IntegriCloud