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 D65D1C05027 for ; Fri, 17 Feb 2023 13:33:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF23885AAF; Fri, 17 Feb 2023 14:33:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1676640811; bh=5YdDHN6QzoQ1cpz85O6tE38VP5S/2iyei40onkZbrG4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TJY5DTk5w+U9SCbfCAClYKvsklXke/1oatC01Qrvgwo6J2rYWojnlnpeW1ksjFsGX xgsOg6p1+rWdhZYCW6Y/bB8aksPH7o7DfFMfJ+IxpcuQtrABd+kvJfwIKJTLcuy+uS R5RR5vM/cM4XCbFizqVon2HwG75skNW/OOAZ7OClz2dQNUjRsaX4cnQX/iQfJUWgyA Vm0Wzt76Mw8P5J5vdS7TSyUgj+8SCW/1r5SxyZdpRwR4MBjdEqIqZ46RTjbif9T9xM Btqutl/SIB8AHZdNHcoPy/7qvNhAl/wNH2nmsB85Rlv2of3v6Lnn2TN7FOHZE5hcDL MzZVcQLMJW7rA== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9629585AAF; Fri, 17 Feb 2023 14:33:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1676640809; bh=5YdDHN6QzoQ1cpz85O6tE38VP5S/2iyei40onkZbrG4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DQgopu+nL83HdMdYbYdzQKiCXFYhUacFaicN9IruB+caZZEJP1KwnCPVluGdVPk3g axMsTlQi6FQLf0nXYes/WjJ5EeymEt+F5V3i0b9E6TcJUuthHZAqfbYWc4ubjmhLxv VAh/pRoJqZWzFLzu584i0UbilSvCGqvPV4HS9EcDa9FtEtL3zjeNqEkIW++584a3Pw l0t9YYCv3BLSjMvlkbhENu4TlY0v2SPt8Clt7k5npb+qrfC43N8mpltlBpq47KFXcp xX+/uLRQc+br1OdLrBFJ36iJWnGAAzPeyJKG5cyPdR2HmYIo9WduyOJ/lJt/XssffY LB6pWFk6VtGYg== Message-ID: <0eeaba5f-e32f-4184-3f48-d422ee02a4cf@denx.de> Date: Fri, 17 Feb 2023 14:33:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCHv2 12/13] global: Add a select for ARCH_MISC_INIT where used Content-Language: en-US To: Tom Rini , u-boot@lists.denx.de Cc: Marcel Ziswiler , Olaf Mandel , Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" References: <20230216033659.3877684-12-trini@konsulko.com> <20230217125055.1746598-1-trini@konsulko.com> From: Marek Vasut In-Reply-To: <20230217125055.1746598-1-trini@konsulko.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 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. > > 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. > > 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 > > 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 will > continue to get the functionality they had before. As Marek noted in the > thread, further clean-up in this area would be good. The SPL code does not automatically call arch_misc_init() if ARCH_MISC_INIT is selected , so this won't work as-is. Is there another patch on which I wasn't CCed which deals with that ?