commit | 0c36441035f43b1f96c477024b85baa93e20a7fa | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 28 10:44:48 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 17 13:26:50 2020 -0500 |
tree | f0a213fe4c520420a0cc74737f602d13425f877d | |
parent | 1f26500f8c59c496076a138d73881dad1f070853 [diff] [blame] |
common: Move reset_phy() to net.h This is a network function so let's move it into that header. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/include/net.h b/include/net.h index a8ee081..8a02c92 100644 --- a/include/net.h +++ b/include/net.h
@@ -917,4 +917,12 @@ { return string_to_ip(env_get(var)); } + +/** + * reset_phy() - Reset the Ethernet PHY + * + * This should be implemented by boards if CONFIG_RESET_PHY_R is enabled + */ +void reset_phy(void); + #endif /* __NET_H__ */