diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-02-11 17:42:50 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-02-13 09:58:27 +0530 |
commit | c2bfa2bff30312679cfee986bbed9b974c6760bb (patch) | |
tree | c018a91ba5f6ab0e0343ffaae71bffd5b0c6768b /platform | |
parent | 1a8ca08cc037c65c605e7e2f98b8c01606eaca3b (diff) |
lib: irqchip/plic: Disable all contexts and IRQs
To initialize PLIC in sane state, we should:
1. set maximum threshold value of M-mode PLIC contexts
2. set maximum threshold value of S-mode PLIC contexts
3. set irq priorities to miniumum
Fix the comment and initialize the threshold/priorities correctly.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions