diff options
Diffstat (limited to 'platform/andes/ae350/platform.c')
-rw-r--r-- | platform/andes/ae350/platform.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/andes/ae350/platform.c b/platform/andes/ae350/platform.c index 774ea90..16443fb 100644 --- a/platform/andes/ae350/platform.c +++ b/platform/andes/ae350/platform.c @@ -71,13 +71,12 @@ static int ae350_irqchip_init(bool cold_boot) if (cold_boot) { ret = plic_cold_irqchip_init(AE350_PLIC_ADDR, - AE350_PLIC_NUM_SOURCES, - AE350_HART_COUNT); + AE350_PLIC_NUM_SOURCES); if (ret) return ret; } - return plic_warm_irqchip_init(hartid, 2 * hartid, 2 * hartid + 1); + return plic_warm_irqchip_init(2 * hartid, 2 * hartid + 1); } /* Initialize IPI for current HART. */ |