[U-Boot] [PATCH v3 12/14] net: gem: Move driver to DM

Simon Glass sjg at chromium.org
Thu Dec 3 19:57:12 CET 2015


On 3 December 2015 at 07:48, Michal Simek <michal.simek at xilinx.com> wrote:
>
> - Enable DM_ETH by default for Zynq and ZynqMP
> - Remove board_eth_init code
> - Change miiphy_read function to return value instead of error code
>   based on DM requirement
> - Do not enable EMIO DT support by default
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> Changes in v3:
> - Add remove function reported by Bin Meng
>
> Changes in v2:
> - Remove accidentially added mmc code
> - Sort dm.h header
> - add platdata_auto_alloc_size
> - Read iobase from pdata instead of via gev_get_addr
> - Check positive return value from fdtdec_lookup_phandles instead of -1
>
>  arch/arm/Kconfig              |   2 +
>  board/xilinx/zynq/board.c     |  13 ---
>  board/xilinx/zynqmp/zynqmp.c  |  25 ------
>  drivers/net/zynq_gem.c        | 179 ++++++++++++++++++++++++++----------------
>  include/configs/zynq-common.h |   6 --
>  include/netdev.h              |   2 -
>  6 files changed, 112 insertions(+), 115 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

We really need to get that PHY interface moved to DM!

Regards,
Simon


More information about the U-Boot mailing list