diff options
author | kevlo <kevlo@FreeBSD.org> | 2014-09-27 14:39:00 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2014-09-27 14:39:00 +0000 |
commit | e0eb5b421d714e77a02e28fc8058758db9bb0cb1 (patch) | |
tree | e94bae48cc1d7d594b414d6d2422f201c038c1b2 | |
parent | 7d70b89c51d6f8dff25417542c5ec6bf48da64e4 (diff) | |
download | FreeBSD-src-e0eb5b421d714e77a02e28fc8058758db9bb0cb1.zip FreeBSD-src-e0eb5b421d714e77a02e28fc8058758db9bb0cb1.tar.gz |
Fix the definitioin of AT91SAM9G45_IRQ_PIOE and rename it to
AT91SAM9G45_IRQ_PIODE. According to the data sheet, both PIOD and PIOE
use the same IRQ.
While here remove duplicate definitions.
-rw-r--r-- | sys/arm/at91/at91sam9g45reg.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arm/at91/at91sam9g45reg.h b/sys/arm/at91/at91sam9g45reg.h index c063748..0dc31be 100644 --- a/sys/arm/at91/at91sam9g45reg.h +++ b/sys/arm/at91/at91sam9g45reg.h @@ -168,8 +168,8 @@ #define AT91SAM9G45_IRQ_PIOA 2 #define AT91SAM9G45_IRQ_PIOB 3 #define AT91SAM9G45_IRQ_PIOC 4 -#define AT91SAM9G45_IRQ_PIOD 5 -#define AT91SAM9G45_IRQ_PIOE 6 +#define AT91SAM9G45_IRQ_PIODE 5 +#define AT91SAM9G45_IRQ_TRNG 6 #define AT91SAM9G45_IRQ_USART0 7 #define AT91SAM9G45_IRQ_USART1 8 #define AT91SAM9G45_IRQ_USART2 9 @@ -202,6 +202,8 @@ #define AT91SAM9G45_IRQ_WDT AT91SAM9G45_IRQ_SYSTEM #define AT91SAM9G45_IRQ_PIT AT91SAM9G45_IRQ_SYSTEM #define AT91SAM9G45_IRQ_RSTC AT91SAM9G45_IRQ_SYSTEM +#define AT91SAM9G45_IRQ_PIOD AT91SAM9G45_IRQ_PIODE +#define AT91SAM9G45_IRQ_PIOE AT91SAM9G45_IRQ_PIODE #define AT91SAM9G45_IRQ_OHCI AT91SAM9G45_IRQ_UHP #define AT91SAM9G45_IRQ_TC0 AT91SAM9G45_IRQ_TC0_TC5 #define AT91SAM9G45_IRQ_TC1 AT91SAM9G45_IRQ_TC0_TC5 @@ -225,9 +227,6 @@ #define AT91SAM9G45_SMC_BASE 0xfffe800 #define AT91SAM9G45_SMC_SIZE 0x200 -#define AT91SAM9G45_PMC_BASE 0xffffc00 -#define AT91SAM9G45_PMC_SIZE 0x100 - #define AT91SAM9G45_HSMCI0_BASE 0xff80000 #define AT91SAM9G45_HSMCI0_SIZE 0x4000 |