soc/arm/microchip_mec/mec17x: Initialise GPIO after ECIA
Since bb590b5b6e
, which enforces a more consistent ordering of
initialisation for devices, the ECIA initialisation was happening after
GPIO initialisation. This caused interrupts to stop working on GPIO
input.
This patch fixes that by increasing the default GPIO initialisation
priority, so that it happens after ECIA.
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
This commit is contained in:
parent
0295edf834
commit
91450a4358
1 changed files with 10 additions and 0 deletions
|
@ -72,3 +72,13 @@ choice
|
|||
JTAG port in SWD mode and SWV as tracing method.
|
||||
I2C09 cannot be used. ADC00-03 can be used.
|
||||
endchoice
|
||||
|
||||
# GPIO initialization depends on ECIA initialization, which happen at
|
||||
# CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, so GPIO_INIT_PRIORITY needs to be
|
||||
# higher than that.
|
||||
if GPIO
|
||||
|
||||
config GPIO_INIT_PRIORITY
|
||||
default 41
|
||||
|
||||
endif # GPIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue