• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // 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 
board_init(void)9 int board_init(void)
10 {
11 	return 0;
12 }
13 
dram_init_banksize(void)14 int dram_init_banksize(void)
15 {
16 	return fdtdec_setup_memory_banksize();
17 }
18 
dram_init(void)19 int dram_init(void)
20 {
21 	if (fdtdec_setup_mem_size_base() != 0)
22 		return -EINVAL;
23 
24 	return 0;
25 }
26