Tiva Interrupts: Changes corresponding to the last needed in the Tiva Kconfig file as well

This commit is contained in:
Gregory Nutt 2015-01-12 10:14:48 -06:00
parent b9dcced1aa
commit c93b205eea
2 changed files with 10 additions and 3 deletions

View File

@ -64,7 +64,7 @@
# undef CONFIG_TIVA_GPIOP_IRQS /* P-Q */ # undef CONFIG_TIVA_GPIOP_IRQS /* P-Q */
# undef CONFIG_TIVA_GPIOQ_IRQS # undef CONFIG_TIVA_GPIOQ_IRQS
/* The TM4C123GH6PGE supports interrupts on port P */ /* The TM4C123GH6PGE supports interrupts only on port P */
# elif defined(CONFIG_ARCH_CHIP_TM4C123GH6PGE) # elif defined(CONFIG_ARCH_CHIP_TM4C123GH6PGE)
# undef CONFIG_TIVA_GPIOA_IRQS /* A-F */ # undef CONFIG_TIVA_GPIOA_IRQS /* A-F */
@ -76,7 +76,7 @@
# undef CONFIG_TIVA_GPIOQ_IRQS /* Q */ # undef CONFIG_TIVA_GPIOQ_IRQS /* Q */
/* The TM4C123GH6ZRB and the TM4C129x support interrupts only on ports P and Q. */ /* The TM4C123GH6ZRB and the TM4C129x support interrupts only on ports P and Q. */
# else # else
# undef CONFIG_TIVA_GPIOA_IRQS /* A-F */ # undef CONFIG_TIVA_GPIOA_IRQS /* A-F */

View File

@ -75,6 +75,7 @@ config ARCH_CHIP_TM4C123GH6ZRB
depends on ARCH_CHIP_TIVA depends on ARCH_CHIP_TIVA
select ARCH_CHIP_TM4C select ARCH_CHIP_TM4C
select ARCH_CHIP_TM4C123 select ARCH_CHIP_TM4C123
select TIVA_HAVE_GPIOP_IRQS
select TIVA_HAVE_GPIOQ_IRQS select TIVA_HAVE_GPIOQ_IRQS
select TIVA_HAVE_I2C4 select TIVA_HAVE_I2C4
select TIVA_HAVE_I2C5 select TIVA_HAVE_I2C5
@ -84,6 +85,12 @@ config ARCH_CHIP_TM4C123GH6PMI
depends on ARCH_CHIP_TIVA depends on ARCH_CHIP_TIVA
select ARCH_CHIP_TM4C select ARCH_CHIP_TM4C
select ARCH_CHIP_TM4C123 select ARCH_CHIP_TM4C123
select TIVA_HAVE_GPIOA_IRQS
select TIVA_HAVE_GPIOB_IRQS
select TIVA_HAVE_GPIOC_IRQS
select TIVA_HAVE_GPIOD_IRQS
select TIVA_HAVE_GPIOE_IRQS
select TIVA_HAVE_GPIOF_IRQS
config ARCH_CHIP_TM4C1294NC config ARCH_CHIP_TM4C1294NC
bool "TM4C1294NC" bool "TM4C1294NC"
@ -151,6 +158,7 @@ config ARCH_CHIP_TM4C123
config ARCH_CHIP_TM4C129 config ARCH_CHIP_TM4C129
bool bool
select TIVA_HAVE_GPIOP_IRQS
select TIVA_HAVE_GPIOQ_IRQS select TIVA_HAVE_GPIOQ_IRQS
select TIVA_HAVE_I2C4 select TIVA_HAVE_I2C4
select TIVA_HAVE_I2C5 select TIVA_HAVE_I2C5
@ -165,7 +173,6 @@ config ARCH_CHIP_TM4C
bool bool
select ARCH_CORTEXM4 select ARCH_CORTEXM4
select ARCH_HAVE_FPU select ARCH_HAVE_FPU
select TIVA_HAVE_GPIOP_IRQS
select TIVA_HAVE_I2C1 select TIVA_HAVE_I2C1
select TIVA_HAVE_I2C2 select TIVA_HAVE_I2C2
select TIVA_HAVE_I2C3 select TIVA_HAVE_I2C3