summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/micro-support-card.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-09 01:51:13 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-13 01:54:53 +0900
commit107b3fb484ed960f0c269deff9eaf7cc6f83b0de (patch)
treef6d25849ed31fdafb8a4902a47b518a0b7783fe0 /arch/arm/mach-uniphier/micro-support-card.h
parent042b28f436cb52db1a58af93d7159fcb171e3d36 (diff)
downloadtalos-obmc-uboot-107b3fb484ed960f0c269deff9eaf7cc6f83b0de.tar.gz
talos-obmc-uboot-107b3fb484ed960f0c269deff9eaf7cc6f83b0de.zip
ARM: uniphier: move headers out of include/mach directory
These headers are only included locally in arch/arm/mach-uniphier/. There is no reason to export them by putting in the mach/ directory. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/micro-support-card.h')
-rw-r--r--arch/arm/mach-uniphier/micro-support-card.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/micro-support-card.h b/arch/arm/mach-uniphier/micro-support-card.h
new file mode 100644
index 0000000000..5da0ada726
--- /dev/null
+++ b/arch/arm/mach-uniphier/micro-support-card.h
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef ARCH_BOARD_H
+#define ARCH_BOARD_H
+
+#if defined(CONFIG_MICRO_SUPPORT_CARD)
+void support_card_reset(void);
+void support_card_init(void);
+void support_card_late_init(void);
+int check_support_card(void);
+void led_puts(const char *s);
+#else
+static inline void support_card_reset(void)
+{
+}
+
+static inline void support_card_init(void)
+{
+}
+
+static inline void support_card_late_init(void)
+{
+}
+
+static inline int check_support_card(void)
+{
+ return 0;
+}
+
+static inline void led_puts(const char *s)
+{
+}
+#endif
+
+#endif /* ARCH_BOARD_H */
OpenPOWER on IntegriCloud