pxe: allow compilation when !defined(CONFIG_CMD_NET)
authorStephen Warren <swarren@wwwdotorg.org>
Thu, 6 Feb 2014 03:49:20 +0000 (20:49 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 21 Feb 2014 14:30:05 +0000 (15:30 +0100)
commitb81fdb04868e21693f5dfe9242ff6f49fcfe5a93
tree6027eba85cf332d84a94d95dbca66dcc18ef3fc9
parent3e11350255d9c5d4bd03c2a65769da84c05d3294
pxe: allow compilation when !defined(CONFIG_CMD_NET)

pxe.c provides both the "pxe" command which relies on a network, and the
"sysboot" command which doesn't. Fix the file to compile when network
support isn't enabled. This is useful e.g. on the Raspberry Pi which has
no network support yet, but will soon support the sysboot command.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
common/cmd_pxe.c