blob: a7f9346b2dd822d1273fbb787e4d43b7d64e1705 [file] [log] [blame]
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +09001/*
Wolfgang Denk0a5c2142007-12-27 01:52:50 +01002 * Copyright (C) 2007
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +09003 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +09006 */
7
8#include <common.h>
9#include <asm/processor.h>
10
John Rigby0d21ed02010-12-20 18:27:51 -070011DECLARE_GLOBAL_DATA_PTR;
12
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +090013int checkboard(void)
14{
Nobuhiro Iwamatsuf2527452007-09-23 02:19:24 +090015 puts("BOARD: SH7750/SH7750S/SH7750R Solution Engine\n");
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +090016 return 0;
17}
18
19int board_init(void)
20{
21 return 0;
22}
23
24int dram_init (void)
25{
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020026 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 Iwamatsu45254852007-05-13 21:01:03 +090029 return 0;
30}
31
32int board_late_init(void)
33{
34 return 0;
35}