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 51B88C6379F for ; Fri, 17 Feb 2023 14:00:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F13B285C65; Fri, 17 Feb 2023 15:00:40 +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="jMqzg0NO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D287185C75; Fri, 17 Feb 2023 15:00:30 +0100 (CET) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 85E0685C76 for ; Fri, 17 Feb 2023 15:00:20 +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-x831.google.com with SMTP id a8so776635qtj.5 for ; Fri, 17 Feb 2023 06:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; 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=6gGsLMLZANooUSpLrKsiZodQ6to9m3zX6ME/1geX618=; b=jMqzg0NOZIGSFREHOWY61vwTb+Zbn1kzeuK+pc0hJQgwuoS7LYF6jod6SB8O3rnJZ5 CabPX67oTETunwgW7VGBU5ogXsk1rTKrQPnLJV75vwwSq2rCItCRDXlTCXLVivF1pLc/ Ig6lpxwjZS0ElWkWZgUgB7Utwo8Tq7az+g+qg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=6gGsLMLZANooUSpLrKsiZodQ6to9m3zX6ME/1geX618=; b=3qasUczrd19ZS1hzrMbBkalFX3kDUz+uF6+Apy4L0l4vvfr3cgepPK/2uO5dkh2Z5h XxYEQphyYEu9irQhVUdzVCLm4IEEEJY10cp6m2UNS4A1GKW9kO4mPZoWOiG6Q/sY4dpB qpDuz32WHNJzEStgMaUUIRU6XLZCtCryHmy1nMppjqYCnQI1t9wpTB5kChSp9gW8lBdm o0Aoh36yo6vgDi1n9p5F+ntnCU5nUt31SG0nMuWIQF4p41GA6fCQP6GkOa97KysDwKqD MqjUtV84CidjcZsLINMdqY/92bTmMlk4AymAG+dctrUOCbqOXJkl1H2AxV8DXUXWqZz4 dTAw== X-Gm-Message-State: AO0yUKU3lCMbH3m9fO2c4cKwVVZ3jaD0m8DTsNzcZmvdtv64k/Z5nHPW v3rjgnlTEjqfEoPQ74gyXgJKqA== X-Google-Smtp-Source: AK7set9PyKcsCooAI7mHCIn76JPMFtTihVbsGoYAX0DWrsxgTFzhtCKigHJucDbN3vqscrEtigCo1w== X-Received: by 2002:ac8:5813:0:b0:3bb:8dfd:c867 with SMTP id g19-20020ac85813000000b003bb8dfdc867mr255398qtg.24.1676642418986; Fri, 17 Feb 2023 06:00:18 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-5ac5-8d1f-7f77-73e8.res6.spectrum.com. [2603:6081:7b00:6400:5ac5:8d1f:7f77:73e8]) by smtp.gmail.com with ESMTPSA id fd10-20020a05622a4d0a00b003b9f1b7895asm3274523qtb.10.2023.02.17.06.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 06:00:18 -0800 (PST) Date: Fri, 17 Feb 2023 09:00:16 -0500 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Marcel Ziswiler , Olaf Mandel , Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" Subject: Re: [PATCHv2 12/13] global: Add a select for ARCH_MISC_INIT where used Message-ID: References: <20230216033659.3877684-12-trini@konsulko.com> <20230217125055.1746598-1-trini@konsulko.com> <0eeaba5f-e32f-4184-3f48-d422ee02a4cf@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TKqysMM/Dh3hrMQZ" Content-Disposition: inline In-Reply-To: <0eeaba5f-e32f-4184-3f48-d422ee02a4cf@denx.de> 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 --TKqysMM/Dh3hrMQZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 17, 2023 at 02:33:28PM +0100, Marek Vasut wrote: > On 2/17/23 13:50, Tom Rini wrote: > > When we have an arch_misc_init function, we can select it to ensure it's > > used. > >=20 > > In that there is a functional change here, it's that on i.MX6 it's > > always been possible to populate "serial#" with something meaningful, > > but not every platform was taking the hook, and now it is. > >=20 > > Signed-off-by: Tom Rini > > --- > > Cc: Marcel Ziswiler > > Cc: Marek Vasut > > Cc: Olaf Mandel > > Cc: Stefano Babic > > Cc: Fabio Estevam > > Cc: NXP i.MX U-Boot Team > >=20 > > Changes in v2: > > - Always select ARCH_MISC_INIT on IMX8M as dealing with FSL_CAAM or not > > needs further SoC-specific clean up work. This replaces patches 10 a= nd > > 11 from before so that if the user enables FSL_CAAM then they will > > continue to get the functionality they had before. As Marek noted in= the > > thread, further clean-up in this area would be good. >=20 > The SPL code does not automatically call arch_misc_init() if ARCH_MISC_IN= IT > is selected , so this won't work as-is. Is there another patch on which I > wasn't CCed which deals with that ? This preserves the exiting behavior, nothing more. --=20 Tom --TKqysMM/Dh3hrMQZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPviG0ACgkQFHw5/5Y0 tywLMwv/QY/KAEJDt6V4QcL6XNmMGvebM0ojFPKAgNj8nj1aV8lZds2eHTGGXbKH RhJ8X3JHkCwK5uGZp+vhw7AmgEDmWyiwPUsK+w7+0elKeQLuTOUnUKk/BpzqUdDY PthI3Dqw4rMNXAhRKXZhHOx2qKCxzRHTW14rxsVeww3yErVxKyXsOpiIpsl4h53X 1OaHFH7LQVhzkxSYiwDqM5lijE2IJBGiyt0ESBkCjKoD14e1jV4rvYwLqw9dOXte Bs52OTEUUj2xeD1m2cU5jOOTHRlW+2GfNeaEyo5v4WRfxSKsk3qwymaWE1t/XKIy zBkS429GxsRUngNPI1G/50zb9h8VEhXuo4BEPD5Mq6wKZc7Klfu5i33Oo8wLQkWQ mLnmgX4OabeyqfV9z5i5oHxpLRSX5A8dSc6VscTrhsvOPk/n9GO5ODlgV7ZQSHgC jjyuBMe5r1Y1qtIQU0tFRrzC7sFMVcs/bdZm3MvyagHpt2dALNRThBm3oGPD2aJ6 YCOBgre/ =OgHi -----END PGP SIGNATURE----- --TKqysMM/Dh3hrMQZ--