diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2013-06-24 17:21:04 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-06-24 19:10:03 -0500 |
commit | 58d9ff936f106d8319a4be8a253a66adc2772736 (patch) | |
tree | 5b7bf8f92c7d7d9c9080773789faba9afd85f8cb /common/cmd_pxe.c | |
parent | 39f985536d3f0df5dba32c15b64ba2b5d32dd296 (diff) | |
download | u-boot-imx-58d9ff936f106d8319a4be8a253a66adc2772736.zip u-boot-imx-58d9ff936f106d8319a4be8a253a66adc2772736.tar.gz u-boot-imx-58d9ff936f106d8319a4be8a253a66adc2772736.tar.bz2 |
net: Fix build regression in cmd_pxe.c
Not all boards define an SOC. As a result, we can't depend on that.
This was introduced in 39f985536d3f0df5dba32c15b64ba2b5d32dd296
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/cmd_pxe.c')
-rw-r--r-- | common/cmd_pxe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index 59483a7..3958e21 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -27,7 +27,9 @@ #define MAX_TFTP_PATH_LEN 127 const char *pxe_default_paths[] = { +#ifdef CONFIG_SYS_SOC "default-" CONFIG_SYS_ARCH "-" CONFIG_SYS_SOC, +#endif "default-" CONFIG_SYS_ARCH, "default", NULL |