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 9FD16C6FA8E for ; Thu, 2 Mar 2023 15:23:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 23ABD85C8F; Thu, 2 Mar 2023 16:23:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="c+OXxY2A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A653B85C95; Thu, 2 Mar 2023 16:22:59 +0100 (CET) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 2B5A585C42 for ; Thu, 2 Mar 2023 16:22:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x830.google.com with SMTP id c3so14070888qtc.8 for ; Thu, 02 Mar 2023 07:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1677770576; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=wRr97seEz7XU3EYwFVeJyT8kHgpzXJTkRyudfDxi7AI=; b=c+OXxY2AfrkjMr199+AEfASm2xK5Ly47n39/Xg8DT6nyZUGAy8pX+hnfmgzM66CnUN NMtvACA5e6tndSqHke39gkvuwoYiuDgOzR2/lWnaSAbubsIuoNWU6KoP9Oud5Ip9kAwG OA1EJQjfEMiIqAkJ7ocEouWrHVuq8IPXTiBXw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677770576; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wRr97seEz7XU3EYwFVeJyT8kHgpzXJTkRyudfDxi7AI=; b=hdh8beErPEJ4hEk/vebe+AVeINlXUxxNksLq0r9R9bvbbjm0jHM4k/gQALrt4AmuhT s+TrV4fawwLSwguQb/uQnG8DvzOkdovG6P/m8KYAGzLvrgqcqPX72FatVf4MJSPj1Luj IJKMBF83h/yYjAeu2yWYp1RDhJyEWTHLAMiDFi0J8Y5vhjaHOLj+X6MGAvkuZTV2f4ZI DKtdw1Uo9VoNGG+3Ix6WnYAkGCU3uM/UJZaUILNIA8lfpeCoUhFQCo2sgCvXUhvjducB s03Z7532DoX1rMPmG6n52I4ucUeehIs6fn6CSFiCVshEonJC3DPdfYD+/aiASppDtyFQ O3pA== X-Gm-Message-State: AO0yUKUM9ftB7SG9fRzDDLGs+WJFt/WdUNyxqq+WCmsOZVnJflArj4gI mnpYb1MaUXstVyWRhu0Ek7kYWQ== X-Google-Smtp-Source: AK7set/Vj4bH+5M61biO5kHH4Mq7n+nNdKosZf6XQuIVBtA745uUqlxLTKnTynvij0xN/rUUbeOtvg== X-Received: by 2002:ac8:5e47:0:b0:3bd:19b1:ccc with SMTP id i7-20020ac85e47000000b003bd19b10cccmr17578908qtx.33.1677770575779; Thu, 02 Mar 2023 07:22:55 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-0000-0000-0000-036b.res6.spectrum.com. [2603:6081:7b00:6400::36b]) by smtp.gmail.com with ESMTPSA id x2-20020ac86b42000000b003b635a5d56csm10447765qts.30.2023.03.02.07.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 07:22:55 -0800 (PST) Date: Thu, 2 Mar 2023 10:22:53 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , huang lin , Jeffy Chen , Kever Yang , Philipp Tomsich , Vagrant Cascadian Subject: Re: [PATCH v2 2/8] rockchip: Disable DISTRO_DEFAULTS for rk3399 boards Message-ID: References: <20230302033930.2546548-1-sjg@chromium.org> <20230302033930.2546548-2-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JzDjJAObVfUHlLa+" Content-Disposition: inline In-Reply-To: <20230302033930.2546548-2-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett 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 --JzDjJAObVfUHlLa+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 01, 2023 at 08:39:23PM -0700, Simon Glass wrote: > These board have moved to standard boot but the old 'distro_bootcmd' > command is still active. Disable DISTRO_DEFAULTS to fix this. >=20 > Signed-off-by: Simon Glass > Tested-by: Vagrant Cascadian > --- >=20 > (no changes since v1) >=20 > arch/arm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index bd7fffcce0b..4e7ebeaee87 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1955,7 +1955,7 @@ config ARCH_ROCKCHIP > imply ADC > imply CMD_DM > imply DEBUG_UART_BOARD_INIT > - imply DISTRO_DEFAULTS > + imply DISTRO_DEFAULTS if !ROCKCHIP_RK3399 > imply FAT_WRITE > imply SARADC_ROCKCHIP > imply SPL_SYSRESET This is just opening the door to the next conversion failing for the same reason I think. We need a new Kconfig symbol, DISTRO_BOOTCMD which is askable and default y depends on DISTRO_DEFAULTS. Then you can do imply/select logic for the conversion based on if they have DISTRO_BOOTCMD or BOOTSTD_BOOTCOMMAND. Because part of the problem here is that we don't have an option for distro_bootcmd itself, so we need one. That's in essence the second half of the patch you did which moves "this is functionality really everyone should enable, for a good general user experience" out of DISTRO_DEFAULTS&&BOOTSTD_DEFAULTS and in to its own symbol. --=20 Tom --JzDjJAObVfUHlLa+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQAv00ACgkQFHw5/5Y0 tyyoUQv9E9ZMAfbuv/VwEPHHxjgX/PI51nHgPzIjETeiMpsKefamPrGNQLj0UoTL qraUxaXges799Vz0aUe7TcA8cSsDtmqdn3SUiL1Nx/nnV9Ilu02EWHQef+O8/Cc5 ygdhWZszMMo8DYjrvcQMLlYvT19OKfCTjfOPww9ZTZCh/ehqB4meVV4AzwbFA+Db FCcAZFKJvavh+xYStWo5QJqTGD0lzJh3qR2OzsGseN0/3CuseeBBLlsPGYrLRacD Rl9JWpLV/ua8cokV9AKXWYBdbrkZVV24fjcEGvh0DNq4FBetZX5UFzhgAVzy0t5+ sszINcHgNb1Z4XHN3uZgECSZtIiyGUuHlx8dQnh55JCLRF+AcCWilPigfA34Qk6h 7JuVAquzkQoGjsvaHgHy5kJKc3AhcLixLjG1ZRj7A+Vnj2fhzCuLWoBPbO/GtxhR 85uviUTf6dtnzXvMbUiIh+Oc0WJWPG/AB/Ij0ePcBmfemdE6ts2cFQ1pFVdsXCS5 woEnwr14 =REzA -----END PGP SIGNATURE----- --JzDjJAObVfUHlLa+--