Add some unit tests for this. Signed-off-by: Simon Glass <s...@chromium.org> ---
test/dm/Makefile | 1 + test/dm/host.c | 195 +++++++++++++++++++++++++++++++++++++ test/py/tests/fs_helper.py | 6 +- test/py/tests/test_ut.py | 6 ++ 4 files changed, 206 insertions(+), 2 deletions(-) create mode 100644 test/dm/host.c Applied to u-boot-dm, thanks!