intc_gicv3_its: anticipate initialization priority

The intc_gicv3_its driver is currently initializing in POST_KERNEL, but
PCIe device nodes depends on it and are initialized earlier. Change the
init level to PRE_KERNEL_1 to sort that out, and also put the driver in
line with other interrupt controller drivers.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-07-10 15:27:36 +00:00 committed by Carles Cufí
parent 0df7bd26ed
commit c2d049f56e

View file

@ -676,7 +676,7 @@ struct its_driver_api gicv3_its_api = {
DEVICE_DT_INST_DEFINE(n, &gicv3_its_init, NULL, \
&gicv3_its_data##n, \
&gicv3_its_config##n, \
POST_KERNEL, \
PRE_KERNEL_1, \
CONFIG_INTC_INIT_PRIORITY, \
&gicv3_its_api);