Nobuhiro Iwamatsu | 74d9c16 | 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 | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 74d9c16 | 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 | 2956532 | 2010-12-20 18:27:51 -0700 | [diff] [blame] | 14 | DECLARE_GLOBAL_DATA_PTR; |
| 15 | |
Nobuhiro Iwamatsu | 74d9c16 | 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 | 74d9c16 | 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 | } |