commit | c91eb0cc14872d2adc1073ebe3cbd9732bf46228 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Fri Aug 05 18:26:17 2016 +0300 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Aug 15 13:34:47 2016 -0500 |
tree | b35b359b02db19813abd1d162ffab4113f4b6ed0 | |
parent | f9ffa428b2fb2f7d3b82df2909f579e219a81117 [diff] |
net/ethoc: add CONFIG_DM_ETH support 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 <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>