blob: 90990ba4044e1cdd6c137e41ab7310b20bcb3973 [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_init(void);
Masahiro Yamada88216812014-12-06 00:03:26 +090014void support_card_late_init(void);
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090015void led_puts(const char *s);
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090016#else
Masahiro Yamadad8527c22015-09-22 00:27:30 +090017static inline void support_card_init(void)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090018{
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090019}
20
Masahiro Yamadad8527c22015-09-22 00:27:30 +090021static inline void support_card_late_init(void)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090022{
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090023}
24
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090025static inline void led_puts(const char *s)
26{
27}
Masahiro Yamadad8527c22015-09-22 00:27:30 +090028#endif
Masahiro Yamada88216812014-12-06 00:03:26 +090029
Masahiro Yamada059c5432016-09-14 01:06:07 +090030#endif /* MICRO_SUPPORT_CARD_H */