summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorBernhard Nortmann <bernhard.nortmann@web.de>2015-09-14 13:29:45 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2015-09-30 02:54:45 (GMT)
commit4917c061a206b1c220307599bbda84b9bc4d44f2 (patch)
tree0abd8757bb5a848a292df635fff6bfe7dc518431 /net/Kconfig
parentc163e4367908ea625ca962ca6312fc88790b5242 (diff)
downloadu-boot-4917c061a206b1c220307599bbda84b9bc4d44f2.tar.xz
net: avoid eth_unregister() call when function is unavailable
CONFIG_NETCONSOLE causes common/bootm.c to call eth_unregister() for network device shutdown. However, with CONFIG_DM_ETH this function is no longer defined. This is a workaround to avoid the call in that case, and solely rely on eth_halt(). In case this is insufficient, a proper way to unregister / remove network devices needs to be implemented. Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions