[U-Boot] [PATCH] phy: introduce structure fixed-link

York Sun yorksun at freescale.com
Thu Nov 21 19:02:55 CET 2013


On 11/14/2013 03:00 AM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie at freescale.com>
> 
> fixed-link is used in kernel for PHY-less MAC, so introduce this
> structure that U-boot can use it to fixup dtb dynamically.
> 
> Signed-off-by: Shaohui Xie <Shaohui.Xie at freescale.com>
> ---
>  include/phy.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/include/phy.h b/include/phy.h
> index f0f522a..f86ffb9 100644
> --- a/include/phy.h
> +++ b/include/phy.h
> @@ -160,6 +160,14 @@ struct phy_device {
>  	u32 flags;
>  };
>  
> +struct fixed_link {
> +	int phy_id;
> +	int duplex;
> +	int link_speed;
> +	int pause;
> +	int asym_pause;
> +};
> +

How is this code used? Do you have other patches following?

York



More information about the U-Boot mailing list