blob: 70fb20235498e0f177a49a6a0b542bbe3a135365 [file] [log] [blame]
Michal Simek1d6c54e2018-04-12 17:39:46 +02001// SPDX-License-Identifier: GPL-2.0
2/*
3 * (C) Copyright 2018 Xilinx, Inc. (Michal Simek)
4 */
5
6#include <common.h>
7#include <fdtdec.h>
8
9int board_init(void)
10{
11 return 0;
12}
13
14int dram_init_banksize(void)
15{
16 return fdtdec_setup_memory_banksize();
17}
18
19int dram_init(void)
20{
21 if (fdtdec_setup_memory_size() != 0)
22 return -EINVAL;
23
24 return 0;
25}