1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net> 4 */ 5 #include <common.h> 6 #include <init.h> 7 #include <asm/global_data.h> 8 9 DECLARE_GLOBAL_DATA_PTR; 10 dram_init(void)11int dram_init(void) 12 { 13 gd->ram_size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE); 14 return 0; 15 } 16 board_init(void)17int board_init(void) 18 { 19 return 0; 20 } 21