test: Update fdt_overlay to do init from tests
authorSimon Glass <sjg@chromium.org>
Fri, 7 Feb 2025 18:30:46 +0000 (11:30 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 12 Feb 2025 02:10:59 +0000 (20:10 -0600)
commita7290bc4b7248118046f748d80088a40f9171576
tree59e959d3e45a3612ee5256176bbb36e1d431ca57
parent648e4a79bbb5bca2d10535a263788a44bb8e098d
test: Update fdt_overlay to do init from tests

Rather than having an init function and then running the tests, create a
test-init function to do it. This will allow us to get rid of the
command function.

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