Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-11-09 Thread Jagan Teki
On Fri, Nov 10, 2017 at 11:34 AM, Chen-Yu Tsai wrote: > On Fri, Nov 10, 2017 at 2:01 PM, Jagan Teki wrote: >> On Fri, Nov 10, 2017 at 9:52 AM, Chen-Yu Tsai wrote: >>> On Wed, Sep 27, 2017 at 11:46 PM, Joe Hershberger >>>

Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-11-09 Thread Chen-Yu Tsai
On Fri, Nov 10, 2017 at 2:01 PM, Jagan Teki wrote: > On Fri, Nov 10, 2017 at 9:52 AM, Chen-Yu Tsai wrote: >> On Wed, Sep 27, 2017 at 11:46 PM, Joe Hershberger >> wrote: >>> On Fri, Sep 22, 2017 at 2:26 AM, Chen-Yu Tsai

Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-11-09 Thread Jagan Teki
On Fri, Nov 10, 2017 at 9:52 AM, Chen-Yu Tsai wrote: > On Wed, Sep 27, 2017 at 11:46 PM, Joe Hershberger > wrote: >> On Fri, Sep 22, 2017 at 2:26 AM, Chen-Yu Tsai wrote: >>> Only the H3/H5 SoCs have an internal PHY and its related clock and

Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-11-09 Thread Chen-Yu Tsai
On Wed, Sep 27, 2017 at 11:46 PM, Joe Hershberger wrote: > On Fri, Sep 22, 2017 at 2:26 AM, Chen-Yu Tsai wrote: >> Only the H3/H5 SoCs have an internal PHY and its related clock and >> reset controls. >> >> Use an #ifdef to guard the internal PHY control

Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-09-27 Thread Joe Hershberger
On Fri, Sep 22, 2017 at 2:26 AM, Chen-Yu Tsai wrote: > Only the H3/H5 SoCs have an internal PHY and its related clock and > reset controls. > > Use an #ifdef to guard the internal PHY control code block so it > can be built for other SoCs, such as the A83T or A64. > >

Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:33AM +, Chen-Yu Tsai wrote: > Only the H3/H5 SoCs have an internal PHY and its related clock and > reset controls. > > Use an #ifdef to guard the internal PHY control code block so it > can be built for other SoCs, such as the A83T or A64. > > Signed-off-by:

[U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-09-22 Thread Chen-Yu Tsai
Only the H3/H5 SoCs have an internal PHY and its related clock and reset controls. Use an #ifdef to guard the internal PHY control code block so it can be built for other SoCs, such as the A83T or A64. Signed-off-by: Chen-Yu Tsai --- drivers/net/sun8i_emac.c | 3 +++ 1 file