On Mon, Jan 18, 2016 at 5:51 AM, Simon Glass <s...@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 <s...@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...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot