summaryrefslogtreecommitdiff
path: root/include/test/export.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-07-02 09:53:34 -0400
committerTom Rini <trini@konsulko.com>2020-07-02 09:53:34 -0400
commit785195941b0746ac987a0ca501dae3e570b9f042 (patch)
tree317f4d937fb80de27123a1d18adc29ad5bf9337c /include/test/export.h
parente2a4d24e6b1f3d30136e2dde7b6fbf35bd427b8a (diff)
parentadd0dc1f7de91112d9e738f9482b09b75fa86acb (diff)
Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-riscv into next
- Add Sipeed Maix support - Update clock handler and proper cpu features
Diffstat (limited to 'include/test/export.h')
-rw-r--r--include/test/export.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/test/export.h b/include/test/export.h
new file mode 100644
index 0000000000..afc755a8ff
--- /dev/null
+++ b/include/test/export.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
+ */
+
+#ifndef TEST_EXPORT_H
+#define TEST_EXPORT_H
+
+/* Declare something static, unless we are doing unit tests */
+#ifdef CONFIG_UNIT_TEST
+#define TEST_STATIC
+#else
+#define TEST_STATIC static
+#endif
+
+#endif /* TEST_EXPORT_H */