[PATCH] rockchip: include: configs: remove unused configs for tag and size

Kever Yang kever.yang at rock-chips.com
Fri Apr 22 05:18:16 CEST 2022


On 2022/4/20 20:54, Johan Jonker wrote:
> 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 <jbx6244 at gmail.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   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 5905518e..6effa6f0 100644
> --- a/include/configs/rk3036_common.h
> +++ b/include/configs/rk3036_common.h
> @@ -16,9 +16,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 7449e816..5c4dfa61 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 3258820f..e955d0d1 100644
> --- a/include/configs/rk322x_common.h
> +++ b/include/configs/rk322x_common.h
> @@ -17,8 +17,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


More information about the U-Boot mailing list