Currently, I/O pin settings are not necessary for SPL. The board_early_init_f() seems a suitable place to call pin_init(). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>master
parent
aa1cd2cf09
commit
84ccd791af
@ -0,0 +1,22 @@ |
||||
/*
|
||||
* Copyright (C) 2012-2015 Panasonic Corporation |
||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
#include <asm/arch/led.h> |
||||
#include <asm/arch/board.h> |
||||
|
||||
void pin_init(void); |
||||
|
||||
int board_early_init_f(void) |
||||
{ |
||||
led_write(U, 0, , ); |
||||
|
||||
pin_init(); |
||||
|
||||
led_write(U, 1, , ); |
||||
|
||||
return 0; |
||||
} |
Loading…
Reference in new issue