]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: dm: add MDIO test
authorAlex Marginean <alexm.osslist@gmail.com>
Mon, 3 Jun 2019 16:12:28 +0000 (19:12 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jul 2019 18:32:25 +0000 (13:32 -0500)
commitec9594a50f02944944dcc76a6cffce9861e8614d
treedd42eafb55474e8d9f645a9d72a5dac4b6fafa66
parentc3452b50c3aaa0db2bb0bc68039fed4d40bedbc0
test: dm: add MDIO test

A very simple test for DM_MDIO, mimicks a register write/read through the
sandbox bus to a dummy PHY.

Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/Kconfig
arch/sandbox/dts/test.dts
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/mdio_sandbox.c [new file with mode: 0644]
test/dm/Makefile
test/dm/mdio.c [new file with mode: 0644]