Skip to content
Commit 9283d503 authored by Nikita Shubin's avatar Nikita Shubin Committed by Anup Patel
Browse files

lib: sbi: add priority for reset handler



Let's make system_reset_check returning priority instead of only
true/false. In that case 0 - means not supported, and anything above
means priority that makes existing reset handlers being used in first
place, unless it is decided to lower their priority.

The handler with the most priority wins.

Signed-off-by: default avatarNikita Shubin <n.shubin@yadro.com>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 516161c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment