test: Move fdt_overlay init into a function
authorSimon Glass <sjg@chromium.org>
Fri, 7 Feb 2025 18:30:44 +0000 (11:30 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 12 Feb 2025 02:10:59 +0000 (20:10 -0600)
commitaf4c94709cfac7b777dec2e78c70d50cba9a88cb
tree9c80154a33d55d15da89388632bb09f10ced7c6b
parent9aaa4a3565c8575c332ef3f5c0f47e64b419cb70
test: Move fdt_overlay init into a function

Move the init code into a separate function since it is quite large.
Adjust it to use unit-test functions which have become available since
the test was written.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/fdt_overlay/cmd_ut_fdt_overlay.c