You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
641 B
32 lines
641 B
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* (C) Copyright 2022 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <debug_uart.h>
|
|
#include <dm.h>
|
|
#include <ram.h>
|
|
#include <syscon.h>
|
|
#include <asm/io.h>
|
|
#include <asm/arch/clock.h>
|
|
#include <asm/arch/hardware.h>
|
|
#include <asm/arch/rk_atags.h>
|
|
#include <asm/arch/cru_rk3562.h>
|
|
#include <asm/arch/grf_rk3562.h>
|
|
|
|
#ifdef CONFIG_TPL_BUILD
|
|
#ifndef CONFIG_TPL_TINY_FRAMEWORK
|
|
#error please defined CONFIG_TPL_TINY_FRAMEWORK for RK3562 !!!
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_TPL_BUILD
|
|
|
|
/* return: 0 = success, other = fail */
|
|
int sdram_init(void)
|
|
{
|
|
return (-1);
|
|
}
|
|
#endif /* CONFIG_TPL_BUILD */
|