Re: [U-Boot] [PATCH v2] net: mvgbe: extract common code for SMI wait

2018-06-11 Thread Joe Hershberger
On Sat, Jun 9, 2018 at 3:46 AM, Chris Packham wrote: > Combine repeated code from smi_reg_read/smi_reg_write into a common > function smi_wait_ready. > > Reviewed-by: Stefan Roese > Signed-off-by: Chris Packham Acked-by: Joe Hershberger ___ U-Boot ma

[U-Boot] [PATCH v2] net: mvgbe: extract common code for SMI wait

2018-06-09 Thread Chris Packham
Combine repeated code from smi_reg_read/smi_reg_write into a common function smi_wait_ready. Reviewed-by: Stefan Roese Signed-off-by: Chris Packham --- Changes in v2: - collect review from Stefan - use wait_for_bit_le32() drivers/net/mvgbe.c | 47 ++---