diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index 59483a75c8fd7960b7dcb300a03ef5e3bebf37bf..3958e215d7afbc12944975dd35f3566c84468294 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