2015-02-05 05:42:54 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012-2015 Panasonic Corporation
|
|
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
2015-02-26 17:26:44 +00:00
|
|
|
#include <mach/led.h>
|
|
|
|
#include <mach/board.h>
|
2015-02-05 05:42:54 +00:00
|
|
|
|
|
|
|
void pin_init(void);
|
2015-02-26 17:26:51 +00:00
|
|
|
void clkrst_init(void);
|
2015-02-05 05:42:54 +00:00
|
|
|
|
|
|
|
int board_early_init_f(void)
|
|
|
|
{
|
|
|
|
led_write(U, 0, , );
|
|
|
|
|
|
|
|
pin_init();
|
|
|
|
|
|
|
|
led_write(U, 1, , );
|
|
|
|
|
2015-02-26 17:26:51 +00:00
|
|
|
clkrst_init();
|
|
|
|
|
|
|
|
led_write(U, 2, , );
|
|
|
|
|
2015-02-05 05:42:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|