Skip to content

Commit

Permalink
net: Fix build regression in cmd_pxe.c
Browse files Browse the repository at this point in the history
Not all boards define an SOC.  As a result, we can't depend on that.

This was introduced in 39f9855

Signed-off-by: Joe Hershberger <[email protected]>
  • Loading branch information
jhershbe committed Jun 25, 2013
1 parent 39f9855 commit 58d9ff9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/cmd_pxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58d9ff9

Please sign in to comment.