summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/include/fatal.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-15 09:56:12 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-15 11:05:09 +0100
commitd1c771cc8b1988916f1eb926986d9ab74873ba37 (patch)
tree5e6f182ebe9f86090bf0c9eabcebf9479d234857 /c/src/lib/libbsp/shared/include/fatal.h
parentbsp/atsam: Use _Assert() instead of assert() (diff)
downloadrtems-d1c771cc8b1988916f1eb926986d9ab74873ba37.tar.bz2
bsp/atsam: Move XDMA IRQ handler to XDMA module
The XDMA is shared by all DMA capable modules. Placing the XDMA interrupt handler into the SPI module is wrong.
Diffstat (limited to 'c/src/lib/libbsp/shared/include/fatal.h')
-rw-r--r--c/src/lib/libbsp/shared/include/fatal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/include/fatal.h b/c/src/lib/libbsp/shared/include/fatal.h
index fdb7797650..1336c78392 100644
--- a/c/src/lib/libbsp/shared/include/fatal.h
+++ b/c/src/lib/libbsp/shared/include/fatal.h
@@ -124,7 +124,10 @@ typedef enum {
QORIQ_FATAL_FDT_NO_TIMEBASE_FREQUENCY,
QORIQ_FATAL_RESTART_FAILED,
QORIQ_FATAL_RESTART_INSTALL_INTERRUPT,
- QORIQ_FATAL_RESTART_INTERRUPT_FAILED
+ QORIQ_FATAL_RESTART_INTERRUPT_FAILED,
+
+ /* ATSAM fatal codes */
+ ATSAM_FATAL_XDMA_IRQ_INSTALL = BSP_FATAL_CODE_BLOCK(11)
} bsp_fatal_code;
RTEMS_NO_RETURN static inline void