lib: utils/ipi: Initialize all matching ipi DT nodes
authorAnup Patel <anup.patel@wdc.com>
Wed, 13 May 2020 07:44:33 +0000 (13:14 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 23 May 2020 05:06:49 +0000 (10:36 +0530)
commit6956e83a944df1c54e4be3554f2ed4863ebe2f75
treebd02f342a6e2d7fccdec0d1375f0890988200de0
parent569dd64b7270fd1cd17006e1b76484d84b1a0a71
lib: utils/ipi: Initialize all matching ipi DT nodes

We can have multiple matching DT nodes of the same FDT ipi driver
so in this case we should call cold_init() for all matching DT nodes
instead of just first matching DT node.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
lib/utils/ipi/fdt_ipi.c
lib/utils/ipi/fdt_ipi_clint.c