diff options
author | Samuel Holland <samuel@sholland.org> | 2021-10-18 00:33:50 -0500 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-10-21 10:06:00 +0530 |
commit | 78c2b19218bd62653b9fb31623a42ced45f38ea6 (patch) | |
tree | cacc2885adb9fdb6aa7706a738b20e14b25956b9 /lib/sbi/sbi_hart.c | |
parent | 422eda499cd6b69c0ca9f4cb06b3aceef17a3b27 (diff) |
lib: utils/irqchip: Automatically delegate T-HEAD PLIC access
The T-HEAD PLIC implementation requires setting a delegation bit
to allow access from S-mode. Now that the T-HEAD PLIC has its own
compatible string, set this bit automatically from the PLIC driver,
instead of reaching into the PLIC's MMIO space from another driver.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_hart.c')
0 files changed, 0 insertions, 0 deletions