summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/local/opt_dpaa.h')
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_dpaa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h b/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
index 2543a5df..496a88f7 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
@@ -1,3 +1,11 @@
+#include <bsp.h>
+#ifdef LIBBSP_POWERPC_QORIQ_BSP_H
+#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
+#include <bsp/qoriq.h>
+#endif
+#else
+#define QORIQ_CHIP_IS_T_VARIANT(x) 0
+#endif
#undef __ppc_generic
#define __ppc_generic
#define KBUILD_MODNAME "dpaa"