Re: [U-Boot] [PATCH 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-05 Thread Max Filippov
On Thu, Aug 4, 2016 at 8:51 PM, Joe Hershberger wrote: > On Tue, Aug 2, 2016 at 6:31 AM, Max Filippov wrote: >> Extract reusable parts from ethoc_init, ethoc_set_mac_address, >> ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH.

Re: [U-Boot] [PATCH 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-04 Thread Joe Hershberger
On Tue, Aug 2, 2016 at 6:31 AM, Max Filippov wrote: > Extract reusable parts from ethoc_init, ethoc_set_mac_address, > ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. > Add U_BOOT_DRIVER, eth_ops structure and implement required methods. > >

Re: [U-Boot] [PATCH 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-03 Thread Simon Glass
On 2 August 2016 at 05:31, Max Filippov wrote: > Extract reusable parts from ethoc_init, ethoc_set_mac_address, > ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. > Add U_BOOT_DRIVER, eth_ops structure and implement required methods. > > Signed-off-by:

[U-Boot] [PATCH 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-02 Thread Max Filippov
Extract reusable parts from ethoc_init, ethoc_set_mac_address, ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. Add U_BOOT_DRIVER, eth_ops structure and implement required methods. Signed-off-by: Max Filippov --- drivers/net/ethoc.c |