[PATCH v2 06/21] test: Move some test drivers into their own file
Simon Glass
sjg at chromium.org
Mon Dec 28 17:25:43 CET 2020
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 at chromium.org>
---
(no changes since v1)
drivers/misc/Kconfig | 9 ++
drivers/misc/Makefile | 1 +
drivers/misc/test_drv.c | 230 ++++++++++++++++++++++++++++++++++++++++
include/dm/test.h | 18 ++++
include/test/test.h | 9 ++
test/dm/bus.c | 105 +-----------------
test/dm/test-fdt.c | 120 ---------------------
7 files changed, 271 insertions(+), 221 deletions(-)
create mode 100644 drivers/misc/test_drv.c
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list