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