blob: ee6e538c3754e592adb66dff85c52aa244eeb97d [file] [log] [blame]
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +09001/*
2 * Copyright (C) 2009 Renesas Solutions Corp.
3 * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
4 *
5 * board/espt/espt.c
6 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +09008 */
9
10#include <common.h>
11#include <asm/io.h>
12#include <asm/processor.h>
13
John Rigby29565322010-12-20 18:27:51 -070014DECLARE_GLOBAL_DATA_PTR;
15
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +090016int checkboard(void)
17{
18 puts("BOARD: ESPT-GIGA\n");
19 return 0;
20}
21
22int board_init(void)
23{
24 return 0;
25}
26
27int dram_init(void)
28{
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +090029 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
35void led_set_state(unsigned short value)
36{
37}