]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/st/stih410-b2260/board.c
board_f: Drop setup_dram_config() wrapper
[people/ms/u-boot.git] / board / st / stih410-b2260 / board.c
CommitLineData
5cc16d88
PC
1/*
2 * Board init file for STiH410-B2260
3 *
4 * (C) Copyright 2017 Patrice Chotard <patrice.chotard@st.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#include <common.h>
10
11DECLARE_GLOBAL_DATA_PTR;
12
13int dram_init(void)
14{
15 gd->ram_size = PHYS_SDRAM_1_SIZE;
16 return 0;
17}
18
76b00aca 19int dram_init_banksize(void)
5cc16d88
PC
20{
21 gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
22 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
76b00aca
SG
23
24 return 0;
5cc16d88
PC
25}
26
27int board_init(void)
28{
29 return 0;
30}