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 CD876C64EC7 for ; Tue, 28 Feb 2023 17:25:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5404A85AB2; Tue, 28 Feb 2023 18:25:03 +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="O5CRdaGP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A958B85B08; Tue, 28 Feb 2023 18:25:00 +0100 (CET) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 E59F185831 for ; Tue, 28 Feb 2023 18:24: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-x82b.google.com with SMTP id ay9so11314304qtb.9 for ; Tue, 28 Feb 2023 09:24:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1677605096; 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=A9TzfCkpSGKS3wheZsf/r20meZOBWL27pV2oSrT//rU=; b=O5CRdaGPUSroO3nkGHMAZRNBlxZo4wOplwwVjZNz9PHPEWbRpBjI9n9YxNuR/Cz9Pp zXkV98DlwYWDBCS2MT+MhYrfecm923Aqpsku7mi8LhUKtNniNzg1AyS0zpeLsM44ZckB qmH9BjNcBQdETEGhdY4tHICrtl3Kg3R1DDojA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677605096; 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=A9TzfCkpSGKS3wheZsf/r20meZOBWL27pV2oSrT//rU=; b=1Gx5Q9yWIuMf/Ypln7Ytezu3N1zc7dXE4a6c4ypWmtFX0I8yDwt4HHxvMaDUEKRWJz cUJ+CiAZnWzskAAN1+iVZEb8Eygo9tdhdI+6VVivUaMQOoEQCXUd4wLFgc7zz1anhq86 JxUf+D2fACNgnRZksnXOvAwitAD0vBKLgpH1CjFJlyxf1StLr6stxkxOWiRAp7RE4wiz FGQZmjM2QvAd2dRh9vwpvgWkIYiV5QQzimeveWrm54CxPiKrV+wX+yelStr+3Tyi/4Bb LpgohqoqcVM7qvdQztWwOfVBmKgrgDsQePxCnYjEgg3NFYU1T/reYJPtMnczFvil+a0+ N/Zw== X-Gm-Message-State: AO0yUKWA8JpWVRhHMVrbbPpncvKX4qBcCx6EU/A6ugTAJOVCaZNZit8K TBg0buM7DYp49JSG+i68z4ue6A== X-Google-Smtp-Source: AK7set+ePkPkr1O2Zh02VCJHrizESRYaIuEobL+WOy4CoIm+bjXfc5yImtHrlLrRF0uIPW3JpfBowg== X-Received: by 2002:a05:622a:1801:b0:3bf:cd42:7724 with SMTP id t1-20020a05622a180100b003bfcd427724mr6442539qtc.11.1677605096748; Tue, 28 Feb 2023 09:24:56 -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 20-20020a370a14000000b0072396cb73cdsm7203570qkk.13.2023.02.28.09.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 09:24:56 -0800 (PST) Date: Tue, 28 Feb 2023 12:24:54 -0500 From: Tom Rini To: Peter Robinson Cc: Matthias Brugger , u-boot@lists.denx.de Subject: Re: [PATCH] rpi: Use OF_BOARD rather than OF_EMBED Message-ID: References: <20230228155605.1209559-1-pbrobinson@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1I729ykALkzIu1qg" Content-Disposition: inline In-Reply-To: <20230228155605.1209559-1-pbrobinson@gmail.com> 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 --1I729ykALkzIu1qg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 28, 2023 at 03:56:05PM +0000, Peter Robinson wrote: > The use of OF_EMBED isn't recommended for standard use and the OF_BOARD > is actually a better fit for the Raspberry Pi as the prior firmware > provides a DT that can be used by U-Boot and the subsequent OS too, but > it still allows the loading of a DT from disk as well if users wish > to use the upstream kernel DT. >=20 > Signed-off-by: Peter Robinson > --- > configs/rpi_0_w_defconfig | 2 +- > configs/rpi_2_defconfig | 2 +- > configs/rpi_3_32b_defconfig | 2 +- > configs/rpi_3_b_plus_defconfig | 2 +- > configs/rpi_3_defconfig | 2 +- > configs/rpi_4_32b_defconfig | 1 + > configs/rpi_4_defconfig | 1 + > configs/rpi_arm64_defconfig | 1 + > configs/rpi_defconfig | 2 +- > 9 files changed, 9 insertions(+), 6 deletions(-) My only concern is from when I did: https://patchwork.ozlabs.org/project/uboot/patch/20211224165704.2855211-1-t= rini@konsulko.com/ so I think you need to also drop the "imply OF_HAS_PRIOR_STAGE" from the Kconfig files and should probably move to select (do not allow the user to override this, it shall always be OF_EMBED now), or at least imply (sufficiently advanced users may want a different choice and should be able to make it). --=20 Tom --1I729ykALkzIu1qg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmP+ON8ACgkQFHw5/5Y0 tyyQdQv8CAwVkBRgM/v5/k0JaZ2e0q1dwQ4z3jZWJyE63xzaTf11qUp0bU4pyaPn LFN8DuUQp2waKlk71ZFIfGspO/hRaF1TDzRtBZAaZVzTRX8j6pn4qotS3xIqOzFy 87IZO5u3Z6t8SixRhwArahX3mMu9lp4VEo8PNUG2CLkHEnHsnjyowIIs5w7MZIdT RvU6XtO54EfO/d3B3UADexgSslOfz1+Q6j7+q/sI2eO1mC4mfWmohuYW5AgXdN3I XQBqSfM7UlEpZ43iZ7l7iowQSG37hO+bXDzg6MvxSRZJ3PV7QLuyOeWsdFg7qms/ I0/mEG8tP4IxuRv5fluzhSthHctk7rBWyRIrJzJfy4+m1ASQrgwajS+GMHfgVAcG PfItgjWKuZPzMKrbiLTxYKqdSCPceEaL4hslVp/1e7KdqRZqGUs6aE+P85KsqB9n 2YYdR/QcqlRnh01PT8e5K/V53velkLw3SL/4EVfmzV9i78Pjjv2spuTG+VLuMBS2 j8THxhMg =bDJW -----END PGP SIGNATURE----- --1I729ykALkzIu1qg--