From mboxrd@z Thu Jan 1 00:00:00 1970 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 6D5E4C433FE for ; Mon, 21 Nov 2022 04:00:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7B993850B9; Mon, 21 Nov 2022 05:00:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LSDXPgdr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C59658514E; Mon, 21 Nov 2022 05:00:13 +0100 (CET) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1AF55850A9 for ; Mon, 21 Nov 2022 05:00:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x72c.google.com with SMTP id z17so7287245qki.11 for ; Sun, 20 Nov 2022 20:00:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0BaPqdE4ZsJu65D2mxwu3oa1KviK4reXI5mRb7VZT6o=; b=LSDXPgdrmFYp6biot7SaR9fWslbAjzoL1bgM8mh0UVMDDjJBaESmMvvQbEBwu5tvNa AsldDimoWwjVGnZYNNEuE+wBbvsIuNRkm5/9zKEXm6l4wWGl5hRYpElPr0y6BxqEMXrE KLcTm9iuvawFlfJq+fT5CvIGP4dBIJm2uPWI3UlLpletPtHa1j8IdygBdQ0DqIF0DlWp hH9e5hRaA7wVuRDpHIP7NDte++osD5zoTytKwsUozNc1C1ZAXfMzLfLCCDuk1xi3ctxd GLh7FdHDga2jb5X7X9TKsn8cBKrQDdshjSdTbtAQLh2Z+cCpJ+njH5kW8odVzejxGcNj Vkzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0BaPqdE4ZsJu65D2mxwu3oa1KviK4reXI5mRb7VZT6o=; b=ke+yfI8Rh088VHEpAaKIC+UJ4Xne2VkcF8k6JV8Jf5Vdz0m961RV9oQz/PXYJ4Jd1J BtPPvgiYgN0rJolFZj8skGgyM8uRc8TjlagalB26JJVmb70NVFWSV/BP5HoJOrKn/VX+ U65SgaE6rITPsqdARPEgVFV40aiMrpMeVdviK9YzU1wONTrUVO0XoLsCW/fF3x0NXzqn 5IgjURWYn5yVda5r/QUnd7/xhQfC8aePANPifUOB+WI94QsntVh8MLp+mQdx2EyvIJQs VBtWtBS3YL3jym1ibn8dYRJw5EltU79W/E7G2/JxjmS9tSGDR2smURhiBE9NVw3AYS5g zagA== X-Gm-Message-State: ANoB5plMILQRX0C2MrDS4DS5A45YMv5LFErxIyl8vzWq8VwAMcokQYZB gpo8vK4DSM2a2FObT+jx+EI= X-Google-Smtp-Source: AA0mqf5yeWNpBVqbALyRgZFcQDHqK9ZarvBjBNIr+9SAQdF4ImjLGJPC7IxPNl1EpIoYC5tOzTu4fQ== X-Received: by 2002:a37:58c7:0:b0:6fb:a2e2:f4fc with SMTP id m190-20020a3758c7000000b006fba2e2f4fcmr15104834qkb.633.1669003209845; Sun, 20 Nov 2022 20:00:09 -0800 (PST) Received: from [192.168.1.201] (pool-173-73-95-180.washdc.fios.verizon.net. [173.73.95.180]) by smtp.gmail.com with ESMTPSA id k7-20020ac80747000000b003a4d5fed8c3sm6039712qth.85.2022.11.20.20.00.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Nov 2022 20:00:09 -0800 (PST) Message-ID: Date: Sun, 20 Nov 2022 23:00:08 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] riscv: use imply instead of select for SPL_SEPARATE_BSS Content-Language: en-US To: Zong Li , sjg@chromium.org, michal.simek@amd.com, sean.anderson@seco.com, ycliang@andestech.com, rick@andestech.com, u-boot@lists.denx.de References: <20221116070839.28550-1-zong.li@sifive.com> From: Sean Anderson In-Reply-To: <20221116070839.28550-1-zong.li@sifive.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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.6 at phobos.denx.de X-Virus-Status: Clean On 11/16/22 02:08, Zong Li wrote: > Use imply instead of select, then it can still be disabled by > board-specific defconfig, or be set to n manually. > > Signed-off-by: Zong Li > --- > arch/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/Kconfig b/arch/Kconfig > index ae39716697..102956d24c 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -111,7 +111,7 @@ config RISCV > select SUPPORT_OF_CONTROL > select OF_CONTROL > select DM > - select SPL_SEPARATE_BSS if SPL > + imply SPL_SEPARATE_BSS if SPL > imply DM_SERIAL > imply DM_ETH > imply DM_EVENT Do you have an example of a board which does this? --Sean