]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Move some test drivers into their own file
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 15:11:18 +0000 (08:11 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:40 +0000 (12:24 -0700)
commit079ac59586fa1e0c69020e74e4f16cbfdf82232d
tree843659b2cd2956374d40b34747d3374a4f7d6c69
parent3f8760824e028f5710e3d8ec029c8cc9fade1729
test: Move some test drivers into their own file

At present several test drivers are part of the test file itself. Some of
these are useful for of-platdata tests. Separate them out so we can use
them for other things also.

A few adjustments are needed so this driver can build for sandbox_spl as
well.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/test_drv.c [new file with mode: 0644]
include/dm/test.h
include/test/test.h
test/dm/bus.c
test/dm/test-fdt.c