lib: utils/reset: Fix fdt_reset to search for more dt nodes
authorXiang W <wxjstz@126.com>
Tue, 11 Jun 2024 11:19:34 +0000 (19:19 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 13 Jun 2024 13:19:51 +0000 (18:49 +0530)
commita73ff043e99122be9f50215f04d0a8e93d69a978
tree6235e816ad40e0790e07801438192a9662dc6620
parentb5c984bd089510cc6c7ad7a5646ead1cf8ea676a
lib: utils/reset: Fix fdt_reset to search for more dt nodes

If there are multiple dt nodes, the previous code only tries to match
the first one, which may lose initialization.

Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/utils/reset/fdt_reset.c