xref: /OK3568_Linux_fs/u-boot/drivers/ram/rockchip/sdram_rk3588.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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*4882a593Smuzhiyun int sdram_init(void)
19*4882a593Smuzhiyun {
20*4882a593Smuzhiyun 	return (-1);
21*4882a593Smuzhiyun }
22*4882a593Smuzhiyun #endif /* CONFIG_TPL_BUILD */
23