projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv
[platform/kernel/u-boot.git]
/
test
/
dm
/
mdio.c
diff --git
a/test/dm/mdio.c
b/test/dm/mdio.c
index
5b66255
..
ba1b54f
100644
(file)
--- a/
test/dm/mdio.c
+++ b/
test/dm/mdio.c
@@
-6,6
+6,7
@@
#include <common.h>
#include <dm.h>
#include <common.h>
#include <dm.h>
+#include <log.h>
#include <dm/test.h>
#include <misc.h>
#include <test/ut.h>
#include <dm/test.h>
#include <misc.h>
#include <test/ut.h>
@@
-13,6
+14,9
@@
/* macros copied over from mdio_sandbox.c */
#define SANDBOX_PHY_ADDR 5
/* 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
#define SANDBOX_PHY_REG 0
#define TEST_REG_VALUE 0xabcd