rockchip: rk3568: remove TPL code

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4b7d7f830d7cc9a5d6623f2add9a4755ce833f2c
This commit is contained in:
Joseph Chen 2020-12-15 17:30:25 +08:00 committed by Jianhong Chen
parent e6b2bd8785
commit d77dbb6e1c
4 changed files with 0 additions and 51 deletions

View File

@ -386,29 +386,12 @@ config ROCKCHIP_RK3568
select ARM64
select GICV3
select SPL
select SUPPORT_TPL
select SUPPORT_SPL
select TPL_TINY_FRAMEWORK if TPL
select DEBUG_UART_BOARD_INIT
imply TPL
imply SPL
imply TPL_SERIAL_SUPPORT
help
The Rockchip RK3568 is a ARM-based SoC with a quad-core Cortex-A55.
if ROCKCHIP_RK3568
config TPL_LDSCRIPT
default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
config TPL_TEXT_BASE
default 0xfdcc1000
config TPL_MAX_SIZE
default 61440
endif
config ROCKCHIP_RK1808
bool "Support Rockchip RK1808"
select ARM64

View File

@ -4,8 +4,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
ifneq ($(CONFIG_TPL_BUILD)$(CONFIG_TPL_TINY_FRAMEWORK),yy)
obj-y += syscon_rk3568.o
endif
obj-y += rk3568.o
obj-y += clk_rk3568.o

View File

@ -15,7 +15,6 @@ obj-$(CONFIG_ROCKCHIP_RK3288) += sdram_rk3288.o
obj-$(CONFIG_ROCKCHIP_RK3308) += sdram_rv1108_pctl_phy.o sdram_rk3308.o
obj-$(CONFIG_ROCKCHIP_RK3328) += sdram_rk3328.o sdram_pctl_px30.o sdram_phy_px30.o
obj-$(CONFIG_ROCKCHIP_RK3399) += sdram_rk3399.o
obj-$(CONFIG_ROCKCHIP_RK3568) += sdram_rk3568.o
obj-$(CONFIG_ROCKCHIP_PX30) += sdram_px30.o sdram_pctl_px30.o sdram_phy_px30.o
obj-$(CONFIG_ROCKCHIP_PX30) += rockchip_sdram.o
obj-$(CONFIG_ROCKCHIP_RK1808) += rockchip_sdram.o

View File

@ -1,31 +0,0 @@
// SPDX-License-Identifier: GPL-2.0
/*
* (C) Copyright 2020 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_rk3568.h>
#include <asm/arch/grf_rk3568.h>
#ifdef CONFIG_TPL_BUILD
#ifndef CONFIG_TPL_TINY_FRAMEWORK
#error please defined CONFIG_TPL_TINY_FRAMEWORK for RK3568 !!!
#endif
#endif
#ifdef CONFIG_TPL_BUILD
/* return: 0 = success, other = fail */
int sdram_init(void)
{
return (-1);
}
#endif /* CONFIG_TPL_BUILD */