mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 16:39:35 +00:00
198a97a6ab
Split the current clkrst_init() into two functions: - early_clkrst_init(): called from SPL Deassert the reset signals of the memory controller and some other basic cores. - clkrst_init(): called from main U-boot Deassert the reset signals that are necessary for the access to peripherals etc. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
27 lines
391 B
C
27 lines
391 B
C
/*
|
|
* Copyright (C) 2012-2015 Panasonic Corporation
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <mach/led.h>
|
|
#include <mach/board.h>
|
|
|
|
void pin_init(void);
|
|
void clkrst_init(void);
|
|
|
|
int board_early_init_f(void)
|
|
{
|
|
led_write(U, 0, , );
|
|
|
|
pin_init();
|
|
|
|
led_write(U, 1, , );
|
|
|
|
clkrst_init();
|
|
|
|
led_write(U, 2, , );
|
|
|
|
return 0;
|
|
}
|