summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/include/mach/micro-support-card.h
blob: 5da0ada72610472dcba8dd26d2f460da4d64bba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef ARCH_BOARD_H
#define ARCH_BOARD_H

#if defined(CONFIG_MICRO_SUPPORT_CARD)
void support_card_reset(void);
void support_card_init(void);
void support_card_late_init(void);
int check_support_card(void);
void led_puts(const char *s);
#else
static inline void support_card_reset(void)
{
}

static inline void support_card_init(void)
{
}

static inline void support_card_late_init(void)
{
}

static inline int check_support_card(void)
{
	return 0;
}

static inline void led_puts(const char *s)
{
}
#endif

#endif /* ARCH_BOARD_H */