Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0087C433F5 for ; Fri, 22 Apr 2022 03:18:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0059C83C05; Fri, 22 Apr 2022 05:18:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id AF34783C24; Fri, 22 Apr 2022 05:18:34 +0200 (CEST) Received: from mail-m17640.qiye.163.com (mail-m17640.qiye.163.com [59.111.176.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 256CD83B9F for ; Fri, 22 Apr 2022 05:18:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kever.yang@rock-chips.com Received: from [172.16.12.93] (unknown [58.22.7.114]) by mail-m17640.qiye.163.com (Hmail) with ESMTPA id 3C558540308; Fri, 22 Apr 2022 11:18:17 +0800 (CST) Message-ID: Date: Fri, 22 Apr 2022 11:18:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] rockchip: include: configs: remove unused configs for tag and size Content-Language: en-US To: Johan Jonker Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, u-boot@lists.denx.de References: <20220420125410.5568-1-jbx6244@gmail.com> From: Kever Yang In-Reply-To: <20220420125410.5568-1-jbx6244@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUlKS0tKN1dZLVlBSVdZDwkaFQgSH1lBWRoYSxlWQ01OSx0aGh 5DTENOVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktISkNVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PyI6Fhw5Az02Li1MGR0iGE0d SR4aCjpVSlVKTU5LTkJMT0JMTk1MVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFISE1MNwY+ X-HM-Tid: 0a804f4709fdd995kuws3c558540308 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean 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 Reviewed-by: Kever Yang 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