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 9FB93C6379F for ; Fri, 17 Feb 2023 14:43:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 58E2C85C3C; Fri, 17 Feb 2023 15:43:52 +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="XtsWGoaU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A54FE85C84; Fri, 17 Feb 2023 15:43:40 +0100 (CET) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 831C885C8C for ; Fri, 17 Feb 2023 15:43: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=trini@konsulko.com Received: by mail-qv1-xf36.google.com with SMTP id qh27so1352128qvb.2 for ; Fri, 17 Feb 2023 06:43:01 -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=UGbtkUL/Uae7LATYdlK9k++YnybpLs6AvRv8mACH7Ms=; b=XtsWGoaUYzdXsQW/Nng8LPOEEo7IuvFJUUeBP8KkSy2i+wW+voOhfxmGXneJQa+FXZ L9XEK/VMeFxN3MVx4avtAINGmjxj4nnSBzMih9LYMiYVJwg5sSZeyL1z2CHwne9XZfAP e1ChYfUTaB9uPDDIHpcsPqCQlhLF+0omG8fWQ= 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=UGbtkUL/Uae7LATYdlK9k++YnybpLs6AvRv8mACH7Ms=; b=cWhd9rXKkft5RoseQvvdvL/jRncPbERH+gEOJrfBYiUfaWKl0JpnWTlAEjuCwV+UYs H2QDHUOo0j/V4xUrmPB3IQlIcEJH34i/64jmtafJ7oe8yotoR9JE9FcIpkC1baJplM1L kQqr9noB+NTgwA9y6Wdt1/7JI0UrWF0xcN45YqWA79avNYvmruH0ClVX1J6H9mMN77f8 wNpwNF58tV1Z93R4oC70hF3zRPUVI4ZbLoDRn2GX+4lOqVmxIYjV9MIpYEJTQ4QrfAB4 hmeO1zAT+nX6NuVZl+Oukm/fGQUhRfbQGxzFB+XqKPtG9vM+EtXzf/RekYvV6gkYli9s ZRRQ== X-Gm-Message-State: AO0yUKU+kbLDR4xDhu/5BYNwvuQ43iAKykZ+N9jxHtkwTLf6qPcVnJuO /9BRU+siFRQ+ypGVE9BCpV+VhQ== X-Google-Smtp-Source: AK7set/JWAi2IV1dpi0kkiJeOSV0UA5MQU+vLwr+kdJux88kP1xx3z1m5a5ICpncg8EAl7VnGm9SgQ== X-Received: by 2002:a05:6214:2522:b0:537:6416:fc2b with SMTP id gg2-20020a056214252200b005376416fc2bmr17124999qvb.52.1676644980047; Fri, 17 Feb 2023 06:43:00 -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 m123-20020a375881000000b0073b4cdb0745sm3316111qkb.116.2023.02.17.06.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 06:42:59 -0800 (PST) Date: Fri, 17 Feb 2023 09:42:57 -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="pd2qAfrzrCNn0WFk" Content-Disposition: inline In-Reply-To: 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 --pd2qAfrzrCNn0WFk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 17, 2023 at 03:40:28PM +0100, Marek Vasut wrote: > On 2/17/23 15:00, Tom Rini wrote: > > 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 meaningfu= l, > > > > 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 and > > > > 11 from before so that if the user enables FSL_CAAM then they w= ill > > > > continue to get the functionality they had before. As Marek not= ed 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_MIS= C_INIT > > > is selected , so this won't work as-is. Is there another patch on whi= ch I > > > wasn't CCed which deals with that ? > >=20 > > This preserves the exiting behavior, nothing more. >=20 > Where does the arch_misc_init() get called from in SPL ? > If that remains in board code for now, then yeah, fine by me. Yes, it's still on the board to call arch_misc_init() inside spl_board_init(). --=20 Tom --pd2qAfrzrCNn0WFk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPvkm4ACgkQFHw5/5Y0 tyxnMAwAr2Kv5FDUCP6gr1eY3ZQLyUMYfB8FYGX7HG6gigJuS//utnhRN3U1mYNM CB9yqMmopbeua1frFDH9QVz9iSPUlSFYGifoug1nQI5NzRG2I2wSE/x+2VXTa6n5 K/bAg8k8nNYeXJWlyE+yTicpdQESIk29cSBLsbXdEA+wjO9fgUFpSxdZU5Jy33Kq pbNOqA9R+mSEPbJsXUjDft+iGnpxOZPrnq+DO+NNwm1OTgjN/0EpOsNBNzccOy5T GLwaOKNFWXB3jEeGawqBYOelRAVltEZSxvG2wePxHpiialrjFSZOw7v2yHC+mIit qpMBbBjpdoLHG0AnbhFhA52vb+zUdPOkIdZCdKhB6mnOlWOJ4OCc7CEeZ1z8Rqdc gA05vvLZT18ExsOSIJOe6W3kwdyzy/gXgMLlIaMEkQBUcD3lDrPisTqXFgTv4sV+ oELgl8ZAYsXldfPbOdiJOW5/4FGBuWbrZ9XwVnBmAj4O42BDrY6W7q+X0YWI2G2l jE0HN4U1 =0Xzy -----END PGP SIGNATURE----- --pd2qAfrzrCNn0WFk--