[PATCH 2/3] fdt: Start a test for the fdt command
Simon Glass
sjg at chromium.org
Tue Jul 26 21:52:48 CEST 2022
Add a basic test of the 'fdt addr' command, to kick things off.
This includes a new convenience function to run a command from a printf()
string.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
common/cli.c | 15 +++++
include/command.h | 10 +++
include/test/suites.h | 1 +
test/cmd/Makefile | 1 +
test/cmd/fdt.c | 142 ++++++++++++++++++++++++++++++++++++++++++
test/cmd_ut.c | 6 ++
6 files changed, 175 insertions(+)
create mode 100644 test/cmd/fdt.c
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list