]> git.sur5r.net Git - u-boot/commitdiff
ARM: keystone2: keystone_nav: make it dependent on keystone driver
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>
Wed, 9 Jul 2014 16:48:42 +0000 (19:48 +0300)
committerTom Rini <trini@ti.com>
Fri, 25 Jul 2014 20:26:09 +0000 (16:26 -0400)
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>
arch/arm/cpu/armv7/keystone/Makefile

index c4af25211027a56f1adb332e3b71dc999b1c1c60..02ecf7e22c4b9bf3f1bc1c3a4b60231fdf6dded9 100644 (file)
@@ -10,7 +10,7 @@ obj-y += psc.o
 obj-y  += clock.o
 obj-y  += cmd_clock.o
 obj-y  += cmd_mon.o
-obj- += 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