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