Re: [PATCH 1/2] am335x:phyflex: Remove phy fixup from board file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 12, 2014 at 08:58:05AM +0100, Christian Hemp wrote:
> The ethernet timings are set by the devicetree. They are no longer required in the
> board file.
> 
> Signed-off-by: Christian Hemp <c.hemp@xxxxxxxxx>

Applied both, thanks

Sascha

> ---
>  arch/arm/boards/phytec-phyflex-am335x/board.c | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/arch/arm/boards/phytec-phyflex-am335x/board.c b/arch/arm/boards/phytec-phyflex-am335x/board.c
> index cf7dd2e..f265e52 100644
> --- a/arch/arm/boards/phytec-phyflex-am335x/board.c
> +++ b/arch/arm/boards/phytec-phyflex-am335x/board.c
> @@ -32,21 +32,11 @@
>  #include <mach/am33xx-silicon.h>
>  #include <mach/bbu.h>
>  
> -static int ksz9031rn_phy_fixup(struct phy_device *dev)
> -{
> -	phy_write_mmd_indirect(dev, 6, 2, 0);
> -	phy_write_mmd_indirect(dev, 8, 2, 0x003ff);
> -
> -	return 0;
> -}
> -
>  static int pfla03_coredevice_init(void)
>  {
>  	if (!of_machine_is_compatible("phytec,phyflex-am335x-som"))
>  		return 0;
>  
> -	phy_register_fixup_for_uid(PHY_ID_KSZ9031, MICREL_PHY_ID_MASK,
> -					ksz9031rn_phy_fixup);
>  	am33xx_register_ethaddr(0, 0);
>  	am33xx_register_ethaddr(1, 1);
>  
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux