Nobuhiro Iwamatsu | d1f2a0c | 2009-06-25 16:31:26 +0900 | [diff] [blame] | 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 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | d1f2a0c | 2009-06-25 16:31:26 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #include <common.h> |
| 11 | #include <asm/io.h> |
| 12 | #include <asm/processor.h> |
| 13 | |
John Rigby | 0d21ed0 | 2010-12-20 18:27:51 -0700 | [diff] [blame] | 14 | DECLARE_GLOBAL_DATA_PTR; |
| 15 | |
Nobuhiro Iwamatsu | d1f2a0c | 2009-06-25 16:31:26 +0900 | [diff] [blame] | 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 | { |
Nobuhiro Iwamatsu | d1f2a0c | 2009-06-25 16:31:26 +0900 | [diff] [blame] | 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 | } |