/*
- * Copyright (C) 2014 Panasonic Corporation
- * Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
+ * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
int board_early_init_r(void)
{
- uniphier_board_late_init();
+ support_card_late_init();
return 0;
}
void support_card_late_init(void);
int check_support_card(void);
#else
-#define support_card_reset() do {} while (0)
-#define support_card_init() do {} while (0)
-#define support_card_late_init() do {} while (0)
-static inline int check_support_card(void)
+static inline void support_card_reset(void)
{
- return 0;
}
-#endif
-static inline void uniphier_board_reset(void)
+static inline void support_card_init(void)
{
- support_card_reset();
}
-static inline void uniphier_board_init(void)
+static inline void support_card_late_init(void)
{
- support_card_init();
}
-static inline void uniphier_board_late_init(void)
+static inline int check_support_card(void)
{
- support_card_late_init();
+ return 0;
}
+#endif
#endif /* ARCH_BOARD_H */