blob: a5a94f8ed9363660598ae79f9104d49388e395cc [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Masahiro Yamada5894ca02014-10-03 19:21:06 +09002/*
Masahiro Yamada43a8cc92016-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 Yamada5894ca02014-10-03 19:21:06 +09006 */
7
Masahiro Yamada43a8cc92016-09-14 01:06:07 +09008#ifndef MICRO_SUPPORT_CARD_H
9#define MICRO_SUPPORT_CARD_H
Masahiro Yamada5894ca02014-10-03 19:21:06 +090010
Masahiro Yamada98798422015-09-11 20:17:45 +090011#if defined(CONFIG_MICRO_SUPPORT_CARD)
Masahiro Yamada5894ca02014-10-03 19:21:06 +090012void support_card_init(void);
Masahiro Yamada7a3620b2014-12-06 00:03:26 +090013void support_card_late_init(void);
Masahiro Yamada84697002015-09-22 00:27:31 +090014void led_puts(const char *s);
Masahiro Yamada5894ca02014-10-03 19:21:06 +090015#else
Masahiro Yamada0b198672015-09-22 00:27:30 +090016static inline void support_card_init(void)
17{
18}
19
20static inline void support_card_late_init(void)
21{
22}
23
Masahiro Yamada84697002015-09-22 00:27:31 +090024static inline void led_puts(const char *s)
25{
26}
Masahiro Yamada5894ca02014-10-03 19:21:06 +090027#endif
28
Masahiro Yamada43a8cc92016-09-14 01:06:07 +090029#endif /* MICRO_SUPPORT_CARD_H */