commit | a3cdcfc4fb8284a1515753304412d09368304fa0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 28 10:44:48 2019 -0700 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Jan 24 23:06:48 2020 +0530 |
tree | 9f87a0a6daeded6eb34485cb1dafc1fea838aeac | |
parent | 0e4868fab91fb5234dd5bca09c8ae1c515360e7f [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__ */