projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f9855
)
net: Fix build regression in cmd_pxe.c
author
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 24 Jun 2013 22:21:04 +0000
(17:21 -0500)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 25 Jun 2013 00:10:03 +0000
(19:10 -0500)
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>
common/cmd_pxe.c
patch
|
blob
|
history
diff --git
a/common/cmd_pxe.c
b/common/cmd_pxe.c
index 59483a75c8fd7960b7dcb300a03ef5e3bebf37bf..3958e215d7afbc12944975dd35f3566c84468294 100644
(file)
--- 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