diff options
Diffstat (limited to 'board/zinger/debug.h')
-rw-r--r-- | board/zinger/debug.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/board/zinger/debug.h b/board/zinger/debug.h new file mode 100644 index 0000000000..fcc000a20d --- /dev/null +++ b/board/zinger/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. + */ +/* Synchronous UART debug printf */ + +#ifndef __BOARD_ZINGER_DEBUG_H +#define __BOARD_ZINGER_DEBUG_H + +#ifdef CONFIG_DEBUG_PRINTF +void debug_printf(const char *format, ...); +#else +#define debug_printf(...) +#endif + +#endif /* __BOARD_ZINGER_DEBUG_H */ |