summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:48 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:26:50 -0500
commit5e6267af31165cdc6d918fd8aff8ae12a30ec9f8 (patch)
treef0a213fe4c520420a0cc74737f602d13425f877d /common
parent015e3348fc3f0f20fd9286bf245e26212568ec93 (diff)
downloadu-boot-5e6267af31165cdc6d918fd8aff8ae12a30ec9f8.tar.gz
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>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 2f5e534489..0102da7efd 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -14,6 +14,7 @@
#include <cpu_func.h>
#include <exports.h>
#include <irq_func.h>
+#include <net.h>
#include <u-boot/crc.h>
/* TODO: can we just include all these headers whether needed or not? */
#if defined(CONFIG_CMD_BEDBUG)