xref: /openbmc/u-boot/board/ms7750se/ms7750se.c (revision ae51b570)
1 /*
2  * Copyright (C) 2007
3  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #include <common.h>
9 #include <asm/processor.h>
10 
11 DECLARE_GLOBAL_DATA_PTR;
12 
13 int checkboard(void)
14 {
15 	puts("BOARD: SH7750/SH7750S/SH7750R Solution Engine\n");
16 	return 0;
17 }
18 
19 int board_init(void)
20 {
21 	return 0;
22 }
23 
24 int dram_init (void)
25 {
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));
29 	return 0;
30 }
31 
32 int board_late_init(void)
33 {
34 	return 0;
35 }
36