Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 43a8cc9 | 2016-09-14 01:06:07 +0900 | [diff] [blame] | 2 | * Copyright (C) 2012-2014 Panasonic Corporation |
| 3 | * Copyright (C) 2015-2016 Socionext Inc. |
| 4 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ |
| 7 | */ |
| 8 | |
Masahiro Yamada | 43a8cc9 | 2016-09-14 01:06:07 +0900 | [diff] [blame] | 9 | #ifndef MICRO_SUPPORT_CARD_H |
| 10 | #define MICRO_SUPPORT_CARD_H |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 11 | |
Masahiro Yamada | 9879842 | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 12 | #if defined(CONFIG_MICRO_SUPPORT_CARD) |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 13 | void support_card_init(void); |
Masahiro Yamada | 7a3620b | 2014-12-06 00:03:26 +0900 | [diff] [blame] | 14 | void support_card_late_init(void); |
Masahiro Yamada | 8469700 | 2015-09-22 00:27:31 +0900 | [diff] [blame] | 15 | void led_puts(const char *s); |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 16 | #else |
Masahiro Yamada | 0b19867 | 2015-09-22 00:27:30 +0900 | [diff] [blame] | 17 | static inline void support_card_init(void) |
| 18 | { |
| 19 | } |
| 20 | |
| 21 | static inline void support_card_late_init(void) |
| 22 | { |
| 23 | } |
| 24 | |
Masahiro Yamada | 8469700 | 2015-09-22 00:27:31 +0900 | [diff] [blame] | 25 | static inline void led_puts(const char *s) |
| 26 | { |
| 27 | } |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 28 | #endif |
| 29 | |
Masahiro Yamada | 43a8cc9 | 2016-09-14 01:06:07 +0900 | [diff] [blame] | 30 | #endif /* MICRO_SUPPORT_CARD_H */ |