boards: actinius_*: fix board init priority
This fixes an issue that surfaced with Zephyr v2.6.0, where the GPIO driver has not completed initialization when attempting to use it during POST_KERNEL with KERNEL_INIT_PRIORITY_DEFAULT. Signed-off-by: Alex Tsamakos <alex@actinius.com>
This commit is contained in:
parent
a1a895e331
commit
094a8ac132
3 changed files with 6 additions and 6 deletions
|
@ -40,5 +40,5 @@ static int board_actinius_icarus_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
SYS_INIT(board_actinius_icarus_init, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
/* Needs to happen after GPIO driver init */
|
||||
SYS_INIT(board_actinius_icarus_init, POST_KERNEL, 99);
|
||||
|
|
|
@ -40,5 +40,5 @@ static int board_actinius_icarus_bee_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
SYS_INIT(board_actinius_icarus_bee_init, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
/* Needs to happen after GPIO driver init */
|
||||
SYS_INIT(board_actinius_icarus_bee_init, POST_KERNEL, 99);
|
||||
|
|
|
@ -40,5 +40,5 @@ static int board_actinius_icarus_som_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
SYS_INIT(board_actinius_icarus_som_init, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
/* Needs to happen after GPIO driver init */
|
||||
SYS_INIT(board_actinius_icarus_som_init, POST_KERNEL, 99);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue