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 #include <init.h> 9 board_init(void)10int board_init(void) 11 { 12 return 0; 13 } 14 dram_init_banksize(void)15int dram_init_banksize(void) 16 { 17 return fdtdec_setup_memory_banksize(); 18 } 19 dram_init(void)20int dram_init(void) 21 { 22 if (fdtdec_setup_mem_size_base() != 0) 23 return -EINVAL; 24 25 return 0; 26 } 27