lib: utils/fdt: Fix DT property for APLIC delegation
authorAnup Patel <apatel@ventanamicro.com>
Wed, 5 Jun 2024 05:18:46 +0000 (10:48 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 5 Jun 2024 05:24:59 +0000 (10:54 +0530)
commitdf3db6a9012916c44bcab221e6d6a264d9621b30
treeb65a069cc25e3c8070dc071d5977e35c63d318b0
parentd962db280725b03a0340e05a07e4c85c93f35bc5
lib: utils/fdt: Fix DT property for APLIC delegation

During Linux AIA driver review, the APLIC DT property for interrupt
delegation was renamed to "riscv,delegation" so let's use the new DT
property name and fallback to old DT property name if the new DT
property name is not available.

Fixes: 34612193af92 ("lib: utils/irqchip: Add FDT based driver for APLIC")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
lib/utils/fdt/fdt_helper.c