[U-Boot] [PATCH 2/2] board:ls1088aqds: Add support of EC1 and EC2

York Sun york.sun at nxp.com
Tue Jun 13 19:51:04 UTC 2017


On 04/26/2017 08:45 AM, Amrita Kumari wrote:
> From: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> 
> EC1 and EC2 are RGMII interface on ls1088aqds platform.
> This patch add support of RGMII with PHY and MDIO
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> Signed-off-by: Amrita Kumari <amrita.kumari at nxp.com>
> ---
>   board/freescale/ls1088a/eth_ls1088aqds.c | 35 ++++++++++++++++++++++++++++++++
>   1 file changed, 35 insertions(+)
> 
> diff --git a/board/freescale/ls1088a/eth_ls1088aqds.c b/board/freescale/ls1088a/eth_ls1088aqds.c
> index a73896d..da94fcc 100644
> --- a/board/freescale/ls1088a/eth_ls1088aqds.c
> +++ b/board/freescale/ls1088a/eth_ls1088aqds.c
> @@ -576,6 +576,38 @@ void ls1088a_handle_phy_interface_xsgmii(int i)
>   		break;
>   	}
>   }
> +
> +void ls1088a_handle_phy_interface_rgmii(int dpmac_id)

No reason this function needs to be global. Put a static in front of it.
Do not send a patch to both internal and upstream lists in the same email.

York


More information about the U-Boot mailing list