xref: /openbmc/u-boot/board/espt/espt.c (revision b2e02d28)
1 /*
2  * Copyright (C) 2009 Renesas Solutions Corp.
3  * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
4  *
5  * board/espt/espt.c
6  *
7  * SPDX-License-Identifier:	GPL-2.0+
8  */
9 
10 #include <common.h>
11 #include <asm/io.h>
12 #include <asm/processor.h>
13 
14 DECLARE_GLOBAL_DATA_PTR;
15 
16 int checkboard(void)
17 {
18 	puts("BOARD: ESPT-GIGA\n");
19 	return 0;
20 }
21 
22 int board_init(void)
23 {
24 	return 0;
25 }
26 
27 int dram_init(void)
28 {
29 	gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
30 	gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
31 	printf("DRAM:  %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024));
32 	return 0;
33 }
34 
35 void led_set_state(unsigned short value)
36 {
37 }
38