mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 11:53:25 +08:00
imx9_boot.c: Add initialization of pin interrupts
Initialize the pin interrupt support during boot
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user