blob: 45f5cea433420ff737c51edb99a7d1679424a958 [file] [log] [blame]
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +09001/*
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +09002 * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +09003 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +09007#include <mach/micro-support-card.h>
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +09008
9void pin_init(void);
Masahiro Yamadac04368f2015-02-27 02:26:51 +090010void clkrst_init(void);
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +090011
12int board_early_init_f(void)
13{
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090014 led_puts("U0");
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +090015
16 pin_init();
17
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090018 led_puts("U1");
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +090019
Masahiro Yamadac04368f2015-02-27 02:26:51 +090020 clkrst_init();
21
Masahiro Yamada4e5d28d2015-09-22 00:27:31 +090022 led_puts("U2");
Masahiro Yamadac04368f2015-02-27 02:26:51 +090023
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +090024 return 0;
25}