On Wed, Aug 19, 2015 at 10:33 AM, Simon Glass <s...@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 <s...@chromium.org>
> Acked-by: Joe Hershberger <joe.hershber...@ni.com>
> Tested-by: Marcel Ziswiler <marcel.ziswi...@toradex.com>
> Tested-on: Apalis T30 2GB on Apalis Evaluation Board

Applied to u-boot-net, thanks!
-Joe
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to