Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 059c543 | 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 | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 5 | * |
6 | * SPDX-License-Identifier: GPL-2.0+ | ||||
7 | */ | ||||
8 | |||||
Masahiro Yamada | 059c543 | 2016-09-14 01:06:07 +0900 | [diff] [blame] | 9 | #ifndef MICRO_SUPPORT_CARD_H |
10 | #define MICRO_SUPPORT_CARD_H | ||||
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 11 | |
Masahiro Yamada | 4903b6d | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 12 | #if defined(CONFIG_MICRO_SUPPORT_CARD) |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 13 | void support_card_reset(void); |
14 | void support_card_init(void); | ||||
Masahiro Yamada | 8821681 | 2014-12-06 00:03:26 +0900 | [diff] [blame] | 15 | void support_card_late_init(void); |
Masahiro Yamada | 4e5d28d | 2015-09-22 00:27:31 +0900 | [diff] [blame] | 16 | void led_puts(const char *s); |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 17 | #else |
Masahiro Yamada | d8527c2 | 2015-09-22 00:27:30 +0900 | [diff] [blame] | 18 | static inline void support_card_reset(void) |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 19 | { |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 20 | } |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 21 | |
Masahiro Yamada | d8527c2 | 2015-09-22 00:27:30 +0900 | [diff] [blame] | 22 | static inline void support_card_init(void) |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 23 | { |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 24 | } |
25 | |||||
Masahiro Yamada | d8527c2 | 2015-09-22 00:27:30 +0900 | [diff] [blame] | 26 | static inline void support_card_late_init(void) |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 27 | { |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 28 | } |
29 | |||||
Masahiro Yamada | 4e5d28d | 2015-09-22 00:27:31 +0900 | [diff] [blame] | 30 | static inline void led_puts(const char *s) |
31 | { | ||||
32 | } | ||||
Masahiro Yamada | d8527c2 | 2015-09-22 00:27:30 +0900 | [diff] [blame] | 33 | #endif |
Masahiro Yamada | 8821681 | 2014-12-06 00:03:26 +0900 | [diff] [blame] | 34 | |
Masahiro Yamada | 059c543 | 2016-09-14 01:06:07 +0900 | [diff] [blame] | 35 | #endif /* MICRO_SUPPORT_CARD_H */ |