summaryrefslogtreecommitdiff
path: root/test/dm/mdio.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-18 20:32:07 -0400
committerTom Rini <trini@konsulko.com>2019-07-18 20:32:07 -0400
commit62a09f45ab824c5fdebf0217c774bededf223232 (patch)
tree32ad59e054f8c1640374b0eee25eb4e6695e2a16 /test/dm/mdio.c
parent0de815356474912ef5bef9a69f0327a5a93bb2c2 (diff)
parentbbfc562719c463ba6e7b03125aedd5720a325d2d (diff)
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'test/dm/mdio.c')
-rw-r--r--test/dm/mdio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dm/mdio.c b/test/dm/mdio.c
index 5b66255f7d..dc229aed6d 100644
--- a/test/dm/mdio.c
+++ b/test/dm/mdio.c
@@ -13,6 +13,9 @@
/* macros copied over from mdio_sandbox.c */
#define SANDBOX_PHY_ADDR 5
+#define SANDBOX_PHY_REG_CNT 2
+
+/* test using 1st register, 0 */
#define SANDBOX_PHY_REG 0
#define TEST_REG_VALUE 0xabcd