blob: 8cf6f187551d5ff0c479e99938da72464384f750 [file] [log] [blame]
Stephan Gerhold43d28852020-01-04 18:45:19 +01001// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
4 */
5#include <common.h>
6
7DECLARE_GLOBAL_DATA_PTR;
8
9int dram_init(void)
10{
11 gd->ram_size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE);
12 return 0;
13}
14
15int board_init(void)
16{
17 return 0;
18}