Nobuhiro Iwamatsu | 4525485 | 2007-05-13 21:01:03 +0900 | [diff] [blame] | 1 | /* |
Wolfgang Denk | 0a5c214 | 2007-12-27 01:52:50 +0100 | [diff] [blame] | 2 | * Copyright (C) 2007 |
Nobuhiro Iwamatsu | 4525485 | 2007-05-13 21:01:03 +0900 | [diff] [blame] | 3 | * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 4525485 | 2007-05-13 21:01:03 +0900 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | #include <asm/processor.h> |
| 10 | |
John Rigby | 0d21ed0 | 2010-12-20 18:27:51 -0700 | [diff] [blame] | 11 | DECLARE_GLOBAL_DATA_PTR; |
| 12 | |
Nobuhiro Iwamatsu | 4525485 | 2007-05-13 21:01:03 +0900 | [diff] [blame] | 13 | int checkboard(void) |
| 14 | { |
Nobuhiro Iwamatsu | f252745 | 2007-09-23 02:19:24 +0900 | [diff] [blame] | 15 | puts("BOARD: SH7750/SH7750S/SH7750R Solution Engine\n"); |
Nobuhiro Iwamatsu | 4525485 | 2007-05-13 21:01:03 +0900 | [diff] [blame] | 16 | return 0; |
| 17 | } |
| 18 | |
| 19 | int board_init(void) |
| 20 | { |
| 21 | return 0; |
| 22 | } |
| 23 | |
| 24 | int dram_init (void) |
| 25 | { |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 26 | gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; |
| 27 | gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE; |
| 28 | printf("DRAM: %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024)); |
Nobuhiro Iwamatsu | 4525485 | 2007-05-13 21:01:03 +0900 | [diff] [blame] | 29 | return 0; |
| 30 | } |
| 31 | |
| 32 | int board_late_init(void) |
| 33 | { |
| 34 | return 0; |
| 35 | } |