blob: f36656505f20c156e820d20c1161d9365b8d6412 [file] [log] [blame]
Dinh Nguyen77754402012-10-04 06:46:02 +00001/*
2 * Copyright (C) 2012 Altera Corporation <www.altera.com>
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Dinh Nguyen77754402012-10-04 06:46:02 +00005 */
6
7#include <common.h>
8#include <asm/arch/reset_manager.h>
9#include <asm/io.h>
10
11#include <netdev.h>
12
13DECLARE_GLOBAL_DATA_PTR;
14
Dinh Nguyen77754402012-10-04 06:46:02 +000015/*
16 * Print Board information
17 */
18int checkboard(void)
19{
20 puts("BOARD : Altera SOCFPGA Cyclone5 Board\n");
21 return 0;
22}
23
24/*
25 * Initialization function which happen at early stage of c code
26 */
27int board_early_init_f(void)
28{
29 return 0;
30}
31
32/*
33 * Miscellaneous platform dependent initialisations
34 */
35int board_init(void)
36{
37 icache_enable();
38 return 0;
39}
40
Dinh Nguyen77754402012-10-04 06:46:02 +000041/*
42 * DesignWare Ethernet initialization
43 */
44/* We know all the init functions have been run now */
45int board_eth_init(bd_t *bis)
46{
47 return 0;
48}