summaryrefslogtreecommitdiff
path: root/board/xilinx/zynqmp_r5/board.c
blob: 1c45ee7196f78b886d6444ef21a117d84eb535e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: GPL-2.0
/*
 * (C) Copyright 2018 Xilinx, Inc. (Michal Simek)
 */

#include <common.h>
#include <fdtdec.h>

int board_init(void)
{
	return 0;
}

int dram_init_banksize(void)
{
	return fdtdec_setup_memory_banksize();
}

int dram_init(void)
{
	if (fdtdec_setup_mem_size_base() != 0)
		return -EINVAL;

	return 0;
}