mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -917,4 +917,12 @@ static inline struct in_addr env_get_ip(char *var)
|
||||
{
|
||||
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__ */
|
||||
|
Reference in New Issue
Block a user