summaryrefslogtreecommitdiff
path: root/lib/utils/ipi/aclint_mswi.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-11lib: utils/ipi: Fix size check in aclint_mswi_cold_init()Anup Patel1-1/+1
Currently, the ACLINT MSWI size check is forcing size to be at least 0x4000. This is inappropriate check because most systems will never utilize full 16KB for a single ACLINT MSWI device so instead we should check that ACLINT MSWI size is enough for on the associated HARTs. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Dong Du <Dd_nirvana@sjtu.edu.cn> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
2021-06-24lib: utils/ipi: Add ACLINT MSWI libraryAnup Patel1-0/+100
We add common ACLINT MSWI library similar to the CLINT library so that OpenSBI platforms can use it. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Xiang W <wxjstz@126.com>