[U-Boot] [PATCH 3/8] net: Move common init into a new eth_common.c file
Bin Meng
bmeng.cn at gmail.com
Mon Jan 18 05:40:58 CET 2016
On Mon, Jan 18, 2016 at 5:51 AM, Simon Glass <sjg at chromium.org> wrote:
> Only half of the init is actually common. Move that part into a new common
> file and call it from driver-model and legacy code. More common functions
> will be added in future patches.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> net/Makefile | 1 +
> net/eth.c | 42 ++++++++++++++----------------------------
> net/eth_common.c | 23 +++++++++++++++++++++++
> net/eth_internal.h | 15 +++++++++++++++
> 4 files changed, 53 insertions(+), 28 deletions(-)
> create mode 100644 net/eth_common.c
> create mode 100644 net/eth_internal.h
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list