mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +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>
25 lines
336 B
C
25 lines
336 B
C
/*
|
|
* Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <mach/micro-support-card.h>
|
|
|
|
void pin_init(void);
|
|
void clkrst_init(void);
|
|
|
|
int board_early_init_f(void)
|
|
{
|
|
led_puts("U0");
|
|
|
|
pin_init();
|
|
|
|
led_puts("U1");
|
|
|
|
clkrst_init();
|
|
|
|
led_puts("U2");
|
|
|
|
return 0;
|
|
}
|