blob: f7834c08fc2c71ed1a9498ee273d58a7b976a4c0 [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>
Simon Glass691d7192020-05-10 11:40:02 -06006#include <init.h>
Stephan Gerhold43d28852020-01-04 18:45:19 +01007
8DECLARE_GLOBAL_DATA_PTR;
9
10int dram_init(void)
11{
12 gd->ram_size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE);
13 return 0;
14}
15
16int board_init(void)
17{
18 return 0;
19}