On Wed, Aug 19, 2015 at 10:33 AM, Simon Glass <[email protected]> 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 <[email protected]> > Acked-by: Joe Hershberger <[email protected]> > Tested-by: Marcel Ziswiler <[email protected]> > Tested-on: Apalis T30 2GB on Apalis Evaluation Board
Applied to u-boot-net, thanks! -Joe _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

