lib: utils: Try other FDT drivers when we see SBI_ENODEV
authorAnup Patel <anup.patel@wdc.com>
Thu, 20 May 2021 15:46:25 +0000 (21:16 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 24 May 2021 10:19:21 +0000 (15:49 +0530)
commit54d7def6c254058f9458a0e26205b3c93a48bb42
treeb925e5ae2ad99804a49d8170653ef21b9cd1dfc7
parentb2dbbc0577e326b6dc1babaa53fb46605c996a72
lib: utils: Try other FDT drivers when we see SBI_ENODEV

We should try other FDT drivers when we see SBI_ENODEV returned
by cold_init() of FDT driver.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
lib/utils/ipi/fdt_ipi.c
lib/utils/irqchip/fdt_irqchip.c
lib/utils/reset/fdt_reset.c
lib/utils/serial/fdt_serial.c
lib/utils/timer/fdt_timer.c