summaryrefslogtreecommitdiff
path: root/include/sh/sh7_pfc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sh/sh7_pfc.h')
-rw-r--r--include/sh/sh7_pfc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/sh/sh7_pfc.h b/include/sh/sh7_pfc.h
new file mode 100644
index 0000000000..4a5c1b4062
--- /dev/null
+++ b/include/sh/sh7_pfc.h
@@ -0,0 +1,12 @@
+#if defined(HEADER_WARNING)
+#warning "This header should not be included directly."
+#endif
+
+
+#if defined(__rtems_sh_gensh1__)
+# include <sh/gensh1/sh/sh7_pfc.h>
+#elif defined(__rtems_sh_gensh2__)
+# include <sh/gensh2/sh/sh7_pfc.h>
+#else
+# error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
+#endif