]> git.baikalelectronics.ru Git - uboot.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)
commitaca75bb4183ab8129e2f5192cbff1810c382aacf
tree843659b2cd2956374d40b34747d3374a4f7d6c69
parentbb33c7844b581f70a50e54c208aeecb4a0e8bb05
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