]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ti: am335x/am437x/omap5 devices: Fix breakage when CONFIG_CMD_NET is not used
authorCooper Jr., Franklin <fcooper@ti.com>
Wed, 10 Jun 2015 13:54:02 +0000 (08:54 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jun 2015 20:11:40 +0000 (16:11 -0400)
Currently there is no default value for NETARGS if CONFIG_CMD_NET=y isn't set.
This results in build errors which was first discovered when trying to run
make env.

By defining a blank NETARGS these errors can be avoided.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Tested-by: Maxin B. John <maxin.john@enea.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/ti_armv7_common.h

index f8829425a541b072a855de4af7a49a048721f0b6..d1c390f4f82fcdb91221d2ff19be967c211c3218 100644 (file)
                "run netloadfdt; " \
                "run netargs; " \
                "bootz ${loadaddr} - ${fdtaddr}\0"
-
+#else
+#define NETARGS ""
 #endif
 
 #endif /* __CONFIG_TI_ARMV7_COMMON_H__ */