summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Marginean <[email protected]>2019-07-12 10:13:52 +0300
committerJoe Hershberger <[email protected]>2019-07-18 16:37:13 -0500
commitb47edf8069cc9fbac8bcb96a1e519c2fbcda7911 (patch)
treeed710456b0e275da73797d502933119583773940 /test
parent20af5adf22bd16fea2713f9fc19c22920500420d (diff)
test: dm_mdio: add a 2nd register to the emulated PHY
This 2nd register is used by the follow-up MDIO MUX test. Signed-off-by: Alex Marginean <[email protected]> Reviewed-by: Bin Meng <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'test')
-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 5b66255f7d4..dc229aed6d0 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