lib: utils/reset: Skip initialize reset when dt is not enabled
authorXiang W <wxjstz@126.com>
Tue, 11 Jun 2024 11:19:33 +0000 (19:19 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 13 Jun 2024 13:10:38 +0000 (18:40 +0530)
commitb5c984bd089510cc6c7ad7a5646ead1cf8ea676a
tree69173226597d69db1fd8a08d75be60a01696a04d
parent86bbe6c52faf48a5bcca2e3073d47d501408bee0
lib: utils/reset: Skip initialize reset when dt is not enabled

When the dt node has a status property and the value is not ok or
okay, skip initializing reset.

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