summaryrefslogtreecommitdiff
path: root/board/keyborg/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/keyborg/debug.h')
-rw-r--r--board/keyborg/debug.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/board/keyborg/debug.h b/board/keyborg/debug.h
new file mode 100644
index 0000000000..a7ae4bfe8f
--- /dev/null
+++ b/board/keyborg/debug.h
@@ -0,0 +1,16 @@
+/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+/* GPIO UART debug printf */
+
+#ifndef __BOARD_KEYBORG_DEBUG_H
+#define __BOARD_KEYBORG_DEBUG_H
+
+#ifdef CONFIG_DEBUG_PRINTF
+void debug_printf(const char *format, ...);
+#else
+#define debug_printf(...)
+#endif
+
+#endif /* __BOARD_KEYBORG_DEBUG_H */