1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * (C) Copyright 2021 Rockchip Electronics Co., Ltd. 4 */ 5 6 #include <common.h> 7 #include <ram.h> 8 9 #ifdef CONFIG_TPL_BUILD 10 #ifndef CONFIG_TPL_TINY_FRAMEWORK 11 #error please defined CONFIG_TPL_TINY_FRAMEWORK for RK3568 !!! 12 #endif 13 #endif 14 15 #ifdef CONFIG_TPL_BUILD 16 17 /* return: 0 = success, other = fail */ sdram_init(void)18int sdram_init(void) 19 { 20 return (-1); 21 } 22 #endif /* CONFIG_TPL_BUILD */ 23