imx9_boot.c: Add initialization of pin interrupts

Initialize the pin interrupt support during boot
This commit is contained in:
Ville Juven 2024-04-17 13:13:30 +03:00 committed by Xiang Xiao
parent 9798674f27
commit 09a6c400f6

View File

@ -37,8 +37,10 @@
#include "arm64_arch.h"
#include "arm64_internal.h"
#include "arm64_mmu.h"
#include "imx9_boot.h"
#include "imx9_serial.h"
#include "imx9_gpio.h"
#include "imx9_lowputc.h"
/****************************************************************************
@ -103,6 +105,12 @@ void arm64_chip_boot(void)
imx9_lowsetup();
#endif
/* Initialize pin interrupt support */
#ifdef CONFIG_IMX9_GPIO_IRQ
imx9_gpioirq_initialize();
#endif
/* Perform board-specific device initialization. This would include
* configuration of board specific resources such as GPIOs, LEDs, etc.
*/