blob: 1c45ee7196f78b886d6444ef21a117d84eb535e5 [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{
Siva Durga Prasad Paladugu12308b12018-07-16 15:56:11 +053021 if (fdtdec_setup_mem_size_base() != 0)
Michal Simek1d6c54e2018-04-12 17:39:46 +020022 return -EINVAL;
23
24 return 0;
25}