2014-10-03 10:21:06 +00:00
|
|
|
/*
|
2015-09-11 11:17:45 +00:00
|
|
|
* Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
2014-10-03 10:21:06 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ARCH_BOARD_H
|
|
|
|
#define ARCH_BOARD_H
|
|
|
|
|
2015-09-11 11:17:45 +00:00
|
|
|
#if defined(CONFIG_MICRO_SUPPORT_CARD)
|
2014-10-03 10:21:06 +00:00
|
|
|
void support_card_reset(void);
|
|
|
|
void support_card_init(void);
|
2014-12-05 15:03:26 +00:00
|
|
|
void support_card_late_init(void);
|
2014-10-03 10:21:06 +00:00
|
|
|
int check_support_card(void);
|
2015-09-21 15:27:31 +00:00
|
|
|
void led_puts(const char *s);
|
2014-10-03 10:21:06 +00:00
|
|
|
#else
|
2015-09-21 15:27:30 +00:00
|
|
|
static inline void support_card_reset(void)
|
2014-10-03 10:21:06 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2015-09-21 15:27:30 +00:00
|
|
|
static inline void support_card_init(void)
|
2014-10-03 10:21:06 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2015-09-21 15:27:30 +00:00
|
|
|
static inline void support_card_late_init(void)
|
2014-10-03 10:21:06 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2015-09-21 15:27:30 +00:00
|
|
|
static inline int check_support_card(void)
|
2014-12-05 15:03:26 +00:00
|
|
|
{
|
2015-09-21 15:27:30 +00:00
|
|
|
return 0;
|
2014-12-05 15:03:26 +00:00
|
|
|
}
|
2015-09-21 15:27:31 +00:00
|
|
|
|
|
|
|
static inline void led_puts(const char *s)
|
|
|
|
{
|
|
|
|
}
|
2015-09-21 15:27:30 +00:00
|
|
|
#endif
|
2014-12-05 15:03:26 +00:00
|
|
|
|
2014-10-03 10:21:06 +00:00
|
|
|
#endif /* ARCH_BOARD_H */
|