mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
ti: am335x/am437x/omap5 devices: Fix breakage when CONFIG_CMD_NET is not used
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>
This commit is contained in:
parent
817aa32b93
commit
60480f8121
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@
|
||||||
"run netloadfdt; " \
|
"run netloadfdt; " \
|
||||||
"run netargs; " \
|
"run netargs; " \
|
||||||
"bootz ${loadaddr} - ${fdtaddr}\0"
|
"bootz ${loadaddr} - ${fdtaddr}\0"
|
||||||
|
#else
|
||||||
|
#define NETARGS ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __CONFIG_TI_ARMV7_COMMON_H__ */
|
#endif /* __CONFIG_TI_ARMV7_COMMON_H__ */
|
||||||
|
|
Loading…
Reference in a new issue