mirror of
https://github.com/revyos/thead-opensbi.git
synced 2026-06-21 17:22:26 +02:00
commit 78c2b19218bd62653b9fb31623a42ced45f38ea6 upstream 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>