lib: utils: Remove redundant parameters from PLIC init functions
authorAnup Patel <anup.patel@wdc.com>
Tue, 12 May 2020 04:44:43 +0000 (10:14 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 23 May 2020 05:06:26 +0000 (10:36 +0530)
commit73d6ef3b2933ccf0b3a8a0ba110bf53ad9720b51
treebaa3468336030b1680162ed4e31d3a3fa6d89179
parent89ba63493c4ce98861144180e408d6db391fd1c3
lib: utils: Remove redundant parameters from PLIC init functions

The "target_hart" and "hart_count" parameters of PLIC cold and
warm init functions are only used for sanity checks and not
required in PLIC initialization.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi_utils/irqchip/plic.h
lib/utils/irqchip/fdt_irqchip_plic.c
lib/utils/irqchip/plic.c
platform/andes/ae350/platform.c
platform/fpga/ariane/platform.c
platform/fpga/openpiton/platform.c
platform/kendryte/k210/platform.c
platform/nuclei/ux600/platform.c
platform/sifive/fu540/platform.c
platform/template/platform.c