[PATCH] test: dm: restore /firmware nodes after testing

Tom Rini trini at konsulko.com
Wed Jun 21 20:41:37 CEST 2023


On Thu, Jun 08, 2023 at 09:55:59AM +0900, AKASHI Takahiro wrote:

> dm_test_restore() is called after dm unit test is run.
> But this function does not scan any nodes under /firmware since
> it calls dm_scan_fdt().
> 
> This causes an issue. For instance, scmi_sandbox_agent device
> will disappear after running 'ut dm scmi_sandbox_agent'.
> 
> So call dm_extended_scan() instead. This change will be coherent
> with what dm_scan() and test_pre_run() does.
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230621/18956324/attachment.sig>


More information about the U-Boot mailing list