diff options
author | Inochi Amaoto <inochiama@outlook.com> | 2023-12-27 08:46:11 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-12-27 11:57:33 +0530 |
commit | ba29293dc947e13fa2e63de7ed289d7bb9b540f4 (patch) | |
tree | bea7f6343a8320a81f81f7f17006b70f189b7cc0 /lib/sbi | |
parent | 63e09ad3f77218e34fb6cc1df88bedde9b9f38cb (diff) | |
download | opensbi-ba29293dc947e13fa2e63de7ed289d7bb9b540f4.zip opensbi-ba29293dc947e13fa2e63de7ed289d7bb9b540f4.tar.gz opensbi-ba29293dc947e13fa2e63de7ed289d7bb9b540f4.tar.bz2 |
lib: utils/timer: mtimer: only use regname for aclint
The parser will fail if the timer is clint timer and has regname
property. As the regname is only meaningful for aclint, it is more
robust to only check regname for aclint timer.
Fixes: 6112d58 ("lib: utils/fdt: Allow to use reg-names when parsing ACLINT")
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/sbi')
0 files changed, 0 insertions, 0 deletions