diff options
author | Nikita Shubin <n.shubin@yadro.com> | 2021-10-01 11:31:17 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-10-11 10:32:26 +0530 |
commit | 9283d503bd260a972f7e7ac2d895f7cfb152ef77 (patch) | |
tree | 9ec4124ac004ed273615f6184f95e0062843eca4 /lib/sbi/sbi_hsm.c | |
parent | 516161c46f0d3c73bf6a57e551d6e2489912fc03 (diff) |
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: Nikita Shubin <n.shubin@yadro.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_hsm.c')
0 files changed, 0 insertions, 0 deletions