[U-Boot] [PATCH v7 2/6] net: e1000: Prepare for driver model conversion

Joe Hershberger joe.hershberger at gmail.com
Mon Aug 24 16:49:25 CEST 2015


On Wed, Aug 19, 2015 at 10:33 AM, Simon Glass <sjg at chromium.org> wrote:
> Since struct eth_device does not exist with CONFIG_DM_ETH defined, avoid
> using it in the driver unless necessary. Most of the time it is better to
> pass the private driver pointer anyway.
>
> Also refactor the code so that code that the driver model implementation
> will share are available in functions that can be called. Add stubs where
> necessary.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> Tested-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Tested-on: Apalis T30 2GB on Apalis Evaluation Board

Applied to u-boot-net, thanks!
-Joe


More information about the U-Boot mailing list