Re: [U-Boot] [PATCH 2/2] Fix patman alignment issues in Add MSCC PHY:VSC8530/VSC8531/VSC8540/VSC8541

2016-11-30 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 6:11 PM, John Haechten
 wrote:
> From 2dc0ca2639fb806df031dc4bb2a1bca655f97b08 Mon Sep 17 00:00:00 2001
> From: John Haechten 
> Date: Mon, 14 Nov 2016 08:50:48 -0800
> Subject: [PATCH 2/2] Fix patman alignment issues in Add MSCC
> PHY:VSC8530/VSC8531/VSC8540/VSC8541 (C) Copyright 2016 Microsemi Corporation,
> MIT License (MIT) Author: John Haechten 
> Signed-off-by:John Haechten ; Reviewed-by:Howard
> Hicks ; Series-to:u-boot;phy; Cc:Allan Nielsen
>  Tested-by:Howard Hicks
>  Series-name:Add Support for MSCC
> PHY:VSC8530/VSC8531/VSC8540/VSC8541 Cover-letter:   Add u-boot support for
> MSCC 1G Phy family: VSC8530/VSC8531/VSC8540/VSC8541 END Series-notes:
>  Tested using BeagleBoneBlack, bb.org-overlays, v2016.11-rc3, with
> 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch applied END
>
> Signed-off-by: John Haechten 
> ---
>
> drivers/net/phy/mscc.c | 2 +-
> drivers/net/phy/phy.c  | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc.c
> index e6d8fcd..8070e8a 100644
> --- a/drivers/net/phy/mscc.c
> +++ b/drivers/net/phy/mscc.c
> @@ -385,7 +385,7 @@ static int vsc8541_config(struct phy_device *phydev)
>break;
>  default:
>printf("PHY 8541 MAC i/f config Error: mac i/f = 0x%x\n",
> - phydev->interface);
> +  phydev->interface);

This should just be squashed into the other patch as part of the v2

>return -EINVAL;
>  }
>
> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
> index 539abee..8db6574 100644
> --- a/drivers/net/phy/phy.c
> +++ b/drivers/net/phy/phy.c
> @@ -513,7 +513,7 @@ int phy_init(void)
>  phy_xilinx_init();
> #endif
> #ifdef CONFIG_PHY_MSCC
> -phy_mscc_init();
> + phy_mscc_init();
> #endif
>
>   return 0;
> --
> 1.9.1
>
>
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/2] Fix patman alignment issues in Add MSCC PHY:VSC8530/VSC8531/VSC8540/VSC8541

2016-11-17 Thread John Haechten
>From 2dc0ca2639fb806df031dc4bb2a1bca655f97b08 Mon Sep 17 00:00:00 2001
From: John Haechten 
Date: Mon, 14 Nov 2016 08:50:48 -0800
Subject: [PATCH 2/2] Fix patman alignment issues in Add MSCC
PHY:VSC8530/VSC8531/VSC8540/VSC8541 (C) Copyright 2016 Microsemi Corporation,
MIT License (MIT) Author: John Haechten 
Signed-off-by:John Haechten ; Reviewed-by:Howard
Hicks ; Series-to:u-boot;phy; Cc:Allan Nielsen
 Tested-by:Howard Hicks
 Series-name:Add Support for MSCC
PHY:VSC8530/VSC8531/VSC8540/VSC8541 Cover-letter:   Add u-boot support for
MSCC 1G Phy family: VSC8530/VSC8531/VSC8540/VSC8541 END Series-notes:
 Tested using BeagleBoneBlack, bb.org-overlays, v2016.11-rc3, with
0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch applied END

Signed-off-by: John Haechten 
---

drivers/net/phy/mscc.c | 2 +-
drivers/net/phy/phy.c  | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc.c
index e6d8fcd..8070e8a 100644
--- a/drivers/net/phy/mscc.c
+++ b/drivers/net/phy/mscc.c
@@ -385,7 +385,7 @@ static int vsc8541_config(struct phy_device *phydev)
   break;
 default:
   printf("PHY 8541 MAC i/f config Error: mac i/f = 0x%x\n",
- phydev->interface);
+  phydev->interface);
   return -EINVAL;
 }

diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 539abee..8db6574 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -513,7 +513,7 @@ int phy_init(void)
 phy_xilinx_init();
#endif
#ifdef CONFIG_PHY_MSCC
-phy_mscc_init();
+ phy_mscc_init();
#endif

  return 0;
--
1.9.1


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot