Re: [U-Boot] [PATCH] pxe: get ethaddr from the current device instead of env

2011-12-06 Thread Wolfgang Denk
Dear Rob Herring, In message <1323129873-8786-1-git-send-email-robherri...@gmail.com> you wrote: > > The env variable "ethaddr" may not be set, so get the address from the > eth_device struct instead. This also enables pxe for secondary ethernet > devices. This is not correct. The "ethaddr" envi

Re: [U-Boot] [PATCH] pxe: get ethaddr from the current device instead of env

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 19:04:33 Rob Herring wrote: > The env variable "ethaddr" may not be set, so get the address from the > eth_device struct instead. This also enables pxe for secondary ethernet > devices. NAK: this won't work either ;). the API contract is that the env is the canonical s

[U-Boot] [PATCH] pxe: get ethaddr from the current device instead of env

2011-12-05 Thread Rob Herring
From: Rob Herring The env variable "ethaddr" may not be set, so get the address from the eth_device struct instead. This also enables pxe for secondary ethernet devices. Signed-off-by: Rob Herring --- common/cmd_pxe.c | 31 --- 1 files changed, 12 insertions(+), 1