blob: 4dae60312f52730fde0a862fef948257e695079d [file] [log] [blame]
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09001/*
Masahiro Yamada059c5432016-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 Yamadabb2ff9d2014-10-03 19:21:06 +09005 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
Masahiro Yamada059c5432016-09-14 01:06:07 +09009#ifndef MICRO_SUPPORT_CARD_H
10#define MICRO_SUPPORT_CARD_H
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090011
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090012#if defined(CONFIG_MICRO_SUPPORT_CARD)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090013void support_card_reset(void);
14void support_card_init(void);
Masahiro Yamada88216812014-12-06 00:03:26 +090015void support_card_late_init(void);
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090016void led_puts(const char *s);
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090017#else
Masahiro Yamadad8527c22015-09-22 00:27:30 +090018static inline void support_card_reset(void)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090019{
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090020}
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090021
Masahiro Yamadad8527c22015-09-22 00:27:30 +090022static inline void support_card_init(void)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090023{
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090024}
25
Masahiro Yamadad8527c22015-09-22 00:27:30 +090026static inline void support_card_late_init(void)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090027{
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090028}
29
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090030static inline void led_puts(const char *s)
31{
32}
Masahiro Yamadad8527c22015-09-22 00:27:30 +090033#endif
Masahiro Yamada88216812014-12-06 00:03:26 +090034
Masahiro Yamada059c5432016-09-14 01:06:07 +090035#endif /* MICRO_SUPPORT_CARD_H */