[U-Boot] [PATCH v2 05/11] dm: net: Use existing Ethernet init for driver model

Simon Glass sjg at chromium.org
Thu Apr 9 05:04:25 CEST 2015


On 5 April 2015 at 16:07, Simon Glass <sjg at chromium.org> wrote:
> At present even with driver model is used there is still much manual init
> of related devices: PHY, environment and board init. Until these requirements
> are dealt with in another way we need to keep them around.
>
> Break out the init portion of the legacy eth_initialize() into a separate
> function and call it from both the legacy and driver model eth_initialize()
> functions.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>
> Changes in v2: None
>
>  net/eth.c | 78 ++++++++++++++++++++++++++++++++++-----------------------------
>  1 file changed, 42 insertions(+), 36 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list