blob: b9b2a6fddc2a1af5f95cd768108194fd858ed2e5 [file] [log] [blame]
Stephan Gerhold3f1d3e42020-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 Glass97589732020-05-10 11:40:02 -06006#include <init.h>
Simon Glass3ba929a2020-10-30 21:38:53 -06007#include <asm/global_data.h>
Stephan Gerhold3f1d3e42020-01-04 18:45:19 +01008
9DECLARE_GLOBAL_DATA_PTR;
10
11int dram_init(void)
12{
13 gd->ram_size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE);
14 return 0;
15}
16
17int board_init(void)
18{
19 return 0;
20}