mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
8469700b6c
The macro, led_write(), is now only used in C sources. There is no more reason to keep the tricky assembly macro. Replace it with a new C function led_puts(). Also, rename board.h to micro-support-card.h. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
39 lines
657 B
C
39 lines
657 B
C
/*
|
|
* 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 */
|