pxe: support absolute paths
authorRob Herring <rob.herring@calxeda.com>
Wed, 28 Mar 2012 05:51:36 +0000 (05:51 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 21 Jun 2012 20:35:15 +0000 (22:35 +0200)
commit90ba7d7c444856ca8619ab63e6ed4ab1560f564d
tree44a9cf40c445d2bf439a270a6e3bdd139402078e
parentbeb9f6c6789edaf0ab20d4105b80299a92f6fdb9
pxe: support absolute paths

If the file path starts with a '/', then don't pre-pend the bootfile path.
This fixes a problem with running 'pxe boot' multiple times where the
bootfile path gets pre-pended to itself each time.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
common/cmd_pxe.c