blob: 75d121d7364b6ee06e80e63e9f62d17ee78e873f [file] [log] [blame]
Andreas Färber81be6802017-05-15 17:54:26 +08001/*
2 * Copyright (c) 2016 Andreas Färber
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8
9DECLARE_GLOBAL_DATA_PTR;
10
11int board_init(void)
12{
13 return 0;
14}
15
16int dram_init(void)
17{
18 gd->ram_size = 0x80000000;
19 return 0;
20}
21
22int dram_init_banksize(void)
23{
24 gd->bd->bi_dram[0].start = 0;
25 gd->bd->bi_dram[0].size = 0x80000000;
26
27 return 0;
28}