Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus

2018-03-21 Thread Joe Hershberger
>> Sent: 2018年3月20日 16:50 >>> To: Peng Fan <peng@nxp.com> >>> Cc: joe.hershber...@ni.com; u-boot@lists.denx.de >>> Subject: Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus >>> >>> Hi, >>> >>> On Sat, 10 Mar

Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus

2018-03-21 Thread Joe Hershberger
om; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus >> >> Hi, >> >> On Sat, 10 Mar 2018 09:19:54 +0800 Peng Fan wrote: >> > No need to provide two prototype for this function. >> > Use ulong for the f

Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus

2018-03-20 Thread Peng Fan
> -Original Message- > From: Lothar Waßmann [mailto:l...@karo-electronics.de] > Sent: 2018年3月20日 16:50 > To: Peng Fan <peng@nxp.com> > Cc: joe.hershber...@ni.com; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus

Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus

2018-03-20 Thread Lothar Waßmann
Hi, On Sat, 10 Mar 2018 09:19:54 +0800 Peng Fan wrote: > No need to provide two prototype for this function. > Use ulong for the first parameter, then this function > could be shared for DM/non DM case. > > Signed-off-by: Peng Fan > --- > drivers/net/fec_mxc.c | 13

Re: [U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus

2018-03-19 Thread Joe Hershberger
On Fri, Mar 9, 2018 at 7:19 PM, Peng Fan wrote: > No need to provide two prototype for this function. > Use ulong for the first parameter, then this function > could be shared for DM/non DM case. > > Signed-off-by: Peng Fan Acked-by: Joe Hershberger

[U-Boot] [PATCH 2/5] net: fec_mxc: simplify fec_get_miibus

2018-03-09 Thread Peng Fan
No need to provide two prototype for this function. Use ulong for the first parameter, then this function could be shared for DM/non DM case. Signed-off-by: Peng Fan --- drivers/net/fec_mxc.c | 13 ++--- include/netdev.h | 6 +- 2 files changed, 3