mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
ef07a99b08
Splitting reset assertion (support_card_reset) and deassertion (support_card_init) is not adding much value any more. Handle all the initialization of Support Card in support_card_init(), then remove support_card_reset(). Also, detect_num_flash_banks() can have a static qualifier. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
30 lines
589 B
C
30 lines
589 B
C
/*
|
|
* Copyright (C) 2012-2014 Panasonic Corporation
|
|
* Copyright (C) 2015-2016 Socionext Inc.
|
|
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef MICRO_SUPPORT_CARD_H
|
|
#define MICRO_SUPPORT_CARD_H
|
|
|
|
#if defined(CONFIG_MICRO_SUPPORT_CARD)
|
|
void support_card_init(void);
|
|
void support_card_late_init(void);
|
|
void led_puts(const char *s);
|
|
#else
|
|
static inline void support_card_init(void)
|
|
{
|
|
}
|
|
|
|
static inline void support_card_late_init(void)
|
|
{
|
|
}
|
|
|
|
static inline void led_puts(const char *s)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* MICRO_SUPPORT_CARD_H */
|