]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/armltd/vexpress64/vexpress64.c
vexpress64: remove board late init, use smhload
[people/ms/u-boot.git] / board / armltd / vexpress64 / vexpress64.c
CommitLineData
12916829
DF
1/*
2 * (C) Copyright 2013
3 * David Feng <fenghua@phytium.com.cn>
4 * Sharma Bhupesh <bhupesh.sharma@freescale.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8#include <common.h>
9#include <malloc.h>
10#include <errno.h>
11#include <netdev.h>
12#include <asm/io.h>
13#include <linux/compiler.h>
14
15DECLARE_GLOBAL_DATA_PTR;
16
17int board_init(void)
18{
19 return 0;
20}
21
22int dram_init(void)
23{
12916829
DF
24 gd->ram_size = PHYS_SDRAM_1_SIZE;
25 return 0;
26}
27
12916829
DF
28/*
29 * Board specific reset that is system reset.
30 */
31void reset_cpu(ulong addr)
32{
33}
34
35/*
36 * Board specific ethernet initialization routine.
37 */
38int board_eth_init(bd_t *bis)
39{
40 int rc = 0;
41#ifdef CONFIG_SMC91111
42 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
b31f9d7a
LW
43#endif
44#ifdef CONFIG_SMC911X
45 rc = smc911x_initialize(0, CONFIG_SMC911X_BASE);
12916829
DF
46#endif
47 return rc;
48}