blob: a5a94f8ed9363660598ae79f9104d49388e395cc [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09002/*
Masahiro Yamada059c5432016-09-14 01:06:07 +09003 * Copyright (C) 2012-2014 Panasonic Corporation
4 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +09006 */
7
Masahiro Yamada059c5432016-09-14 01:06:07 +09008#ifndef MICRO_SUPPORT_CARD_H
9#define MICRO_SUPPORT_CARD_H
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090010
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090011#if defined(CONFIG_MICRO_SUPPORT_CARD)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090012void support_card_init(void);
Masahiro Yamada88216812014-12-06 00:03:26 +090013void support_card_late_init(void);
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090014void led_puts(const char *s);
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090015#else
Masahiro Yamadad8527c22015-09-22 00:27:30 +090016static inline void support_card_init(void)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090017{
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090018}
19
Masahiro Yamadad8527c22015-09-22 00:27:30 +090020static inline void support_card_late_init(void)
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090021{
Masahiro Yamadabb2ff9d2014-10-03 19:21:06 +090022}
23
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090024static inline void led_puts(const char *s)
25{
26}
Masahiro Yamadad8527c22015-09-22 00:27:30 +090027#endif
Masahiro Yamada88216812014-12-06 00:03:26 +090028
Masahiro Yamada059c5432016-09-14 01:06:07 +090029#endif /* MICRO_SUPPORT_CARD_H */