]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: sunxi: Support driver model for Ethernet
authorSimon Glass <sjg@chromium.org>
Sun, 5 Apr 2015 22:07:42 +0000 (16:07 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:37 +0000 (11:11 -0600)
commit5b4c6f299c6d2176dd87d284acd3f58a955eb16a
tree1b4fe6a9fcddb9695376b92a227b92580f9943a1
parent75577ba45a42420d91ccfd9b9ce4ea1298f507ef
dm: sunxi: Support driver model for Ethernet

Adjust the Ethernet initialisation code to support driver model.
It is no-longer necessary to call designware_initialize(). The device will
be probed when it is used. The PHY type and GMAC base will come from the
device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/sunxi/gmac.c