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