From 43c084ccbcc987d8b1e2b68964ec55db751f2fe2 Mon Sep 17 00:00:00 2001 From: Johan Jonker Date: Wed, 20 Apr 2022 14:54:10 +0200 Subject: [PATCH] rockchip: include: configs: remove unused configs for tag and size The configs ROCKCHIP_CHIP_TAG and ROCKCHIP_MAX_INIT_SIZE were originally added with rksd.c, rkspi.c and rkcommon.c in mind, but are no longer in use and replaced by struct spl_info, so remove unused configs for tag and size. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- include/configs/rk3036_common.h | 3 --- include/configs/rk3188_common.h | 2 -- include/configs/rk322x_common.h | 2 -- 3 files changed, 7 deletions(-) diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h index ab2b492d03..f4f6bcab5e 100644 --- a/include/configs/rk3036_common.h +++ b/include/configs/rk3036_common.h @@ -15,9 +15,6 @@ #define CONFIG_SYS_INIT_SP_ADDR 0x60100000 #define CONFIG_SPL_STACK 0x10081fff -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (4 << 10) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK30" - #define CONFIG_SYS_SDRAM_BASE 0x60000000 #define SDRAM_BANK_SIZE (512UL << 20UL) #define SDRAM_MAX_SIZE (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE) diff --git a/include/configs/rk3188_common.h b/include/configs/rk3188_common.h index 7449e816b7..5c4dfa61e0 100644 --- a/include/configs/rk3188_common.h +++ b/include/configs/rk3188_common.h @@ -16,8 +16,6 @@ #endif #define CONFIG_SYS_INIT_SP_ADDR 0x60100000 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (0x8000 - 0x800) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK31" #define CONFIG_IRAM_BASE 0x10080000 /* spl size 32kb sram - 2kb bootrom */ diff --git a/include/configs/rk322x_common.h b/include/configs/rk322x_common.h index 36191ee9c1..f66a7d23be 100644 --- a/include/configs/rk322x_common.h +++ b/include/configs/rk322x_common.h @@ -16,8 +16,6 @@ #define CONFIG_SYS_INIT_SP_ADDR 0x61100000 #define CONFIG_SPL_MAX_SIZE 0x100000 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (28 << 10) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK32" #define CONFIG_IRAM_BASE 0x10080000 #define CONFIG_SYS_SDRAM_BASE 0x60000000 -- 2.39.5