]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: fdt: Move common code into the setup functions
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:57:56 +0000 (07:57 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 27 Aug 2024 00:51:49 +0000 (18:51 -0600)
commit2b60f8c8b132e3d3fe4af74931055fa045ec81c9
tree0638980cab38bbdc9247f71538e8ac853d7f9001
parentb8133039fb75650b8baf25a96bfbdcab31147fec
test: fdt: Move common code into the setup functions

Quite a lot of tests have the same two lines of code at the start. Move
this into the two setup functions to reduce redundancy.

Add a line to check the output from set_working_fdt_addr() since this is
always emitted.

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