SAM4E: Fix options to select GPIO interrupts in Kconfig
This commit is contained in:
parent
7c9b830d8d
commit
b7a35c1e65
@ -226,10 +226,16 @@ config ARCH_CHIP_SAM3U
|
||||
config ARCH_CHIP_SAM3X
|
||||
bool
|
||||
default n
|
||||
select SAM34_HAVE_GPIOD_IRQ
|
||||
select SAM34_HAVE_GPIOE_IRQ
|
||||
select SAM34_HAVE_GPIOF_IRQ
|
||||
|
||||
config ARCH_CHIP_SAM3A
|
||||
bool
|
||||
default n
|
||||
select SAM34_HAVE_GPIOD_IRQ
|
||||
select SAM34_HAVE_GPIOE_IRQ
|
||||
select SAM34_HAVE_GPIOF_IRQ
|
||||
|
||||
config ARCH_CHIP_SAM4CM
|
||||
bool
|
||||
@ -247,6 +253,9 @@ config ARCH_CHIP_SAM4E
|
||||
select ARCH_HAVE_EXTNAND
|
||||
select ARCH_HAVE_EXTSRAM0
|
||||
select ARCH_HAVE_EXTSRAM1
|
||||
select SAM34_HAVE_GPIOD_IRQ
|
||||
select SAM34_HAVE_GPIOE_IRQ
|
||||
select SAM34_HAVE_GPIOF_IRQ
|
||||
|
||||
config ARCH_CHIP_SAM4S
|
||||
bool
|
||||
@ -865,6 +874,18 @@ endmenu # External Memory Configuration
|
||||
|
||||
menu "AT91SAM3/4 GPIO Interrupt Configuration"
|
||||
|
||||
config SAM34_HAVE_GPIOD_IRQ
|
||||
bool
|
||||
default n
|
||||
|
||||
config SAM34_HAVE_GPIOE_IRQ
|
||||
bool
|
||||
default n
|
||||
|
||||
config SAM34_HAVE_GPIOF_IRQ
|
||||
bool
|
||||
default n
|
||||
|
||||
config SAM34_GPIO_IRQ
|
||||
bool "GPIO pin interrupts"
|
||||
---help---
|
||||
@ -887,17 +908,17 @@ config SAM34_GPIOC_IRQ
|
||||
config SAM34_GPIOD_IRQ
|
||||
bool "GPIOD interrupts"
|
||||
default n
|
||||
depends on ARCH_CHIP_SAM3X || ARCH_CHIP_SAM3A
|
||||
depends on SAM34_HAVE_GPIOD_IRQ
|
||||
|
||||
config SAM34_GPIOE_IRQ
|
||||
bool "GPIOE interrupts"
|
||||
default n
|
||||
depends on ARCH_CHIP_SAM3X || ARCH_CHIP_SAM3A
|
||||
depends on SAM34_HAVE_GPIOE_IRQ
|
||||
|
||||
config SAM34_GPIOF_IRQ
|
||||
bool "GPIOF interrupts"
|
||||
default n
|
||||
depends on ARCH_CHIP_SAM3X || ARCH_CHIP_SAM3A
|
||||
depends on SAM34_HAVE_GPIOF_IRQ
|
||||
|
||||
endif # SAM34_GPIO_IRQ
|
||||
endmenu # AT91SAM3/4 GPIO Interrupt Configuration
|
||||
|
@ -249,7 +249,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable)
|
||||
#ifdef CONFIG_SAMA5_EMAC0
|
||||
phydbg("EMAC0: devname=%s\n", SAMA5_EMAC0_DEVNAME);
|
||||
#endif
|
||||
#ifdef CONFIG_SAMA5_EMAC0
|
||||
#ifdef CONFIG_SAMA5_EMAC1
|
||||
phydbg("EMAC1: devname=%s\n", SAMA5_EMAC1_DEVNAME);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user