blob: 4dae60312f52730fde0a862fef948257e695079d [file] [log] [blame]
Masahiro Yamada5894ca02014-10-03 19:21:06 +09001/*
Masahiro Yamada43a8cc92016-09-14 01:06:07 +09002 * Copyright (C) 2012-2014 Panasonic Corporation
3 * Copyright (C) 2015-2016 Socionext Inc.
4 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada5894ca02014-10-03 19:21:06 +09005 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
Masahiro Yamada43a8cc92016-09-14 01:06:07 +09009#ifndef MICRO_SUPPORT_CARD_H
10#define MICRO_SUPPORT_CARD_H
Masahiro Yamada5894ca02014-10-03 19:21:06 +090011
Masahiro Yamada98798422015-09-11 20:17:45 +090012#if defined(CONFIG_MICRO_SUPPORT_CARD)
Masahiro Yamada5894ca02014-10-03 19:21:06 +090013void support_card_reset(void);
14void support_card_init(void);
Masahiro Yamada7a3620b2014-12-06 00:03:26 +090015void support_card_late_init(void);
Masahiro Yamada84697002015-09-22 00:27:31 +090016void led_puts(const char *s);
Masahiro Yamada5894ca02014-10-03 19:21:06 +090017#else
Masahiro Yamada0b198672015-09-22 00:27:30 +090018static inline void support_card_reset(void)
19{
20}
21
22static inline void support_card_init(void)
23{
24}
25
26static inline void support_card_late_init(void)
27{
28}
29
Masahiro Yamada84697002015-09-22 00:27:31 +090030static inline void led_puts(const char *s)
31{
32}
Masahiro Yamada5894ca02014-10-03 19:21:06 +090033#endif
34
Masahiro Yamada43a8cc92016-09-14 01:06:07 +090035#endif /* MICRO_SUPPORT_CARD_H */