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 06D72C6FD18 for ; Wed, 29 Mar 2023 20:22:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4F56086027; Wed, 29 Mar 2023 22:21:53 +0200 (CEST) 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=1680121313; bh=IryXNIkg3gDs2Wr8mnKcJEj/cVPpC5WoqiAUzg8cT4U=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=MIjEHfA5RBu61E1sDdR3WzuJ8awpN4YUklY0JJtBY0tds6hFUyB3VMKV0Whe66jq9 6KqQsnOnbY5LtBUFEm8kCbZyyneP8giXpu5JpGvxXzIGNJ6BSmqoVjZDaKA+C45WCG AYckNDgDxF+PNL9RH63M085iRPBS4uNgOpSu1VDCsesEaW8Pvlyupl+maO0WvQ5Nta nNHwBLY/jhMPaqK7R60z34YeBtJdWZWSwzjhCNh8AfCEh9FBi2175z4330e1CUfnat 1m4G6N0kawUIyH8YWZm1wIQ8kRMNYAxcsYsXVMaAVVKeZuvhRdPdIs6MDmVgYR+3f4 VxhDP+YQGEL2w== Received: by phobos.denx.de (Postfix, from userid 109) id D9F3A86047; Wed, 29 Mar 2023 22:17:19 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8A64485C47 for ; Wed, 29 Mar 2023 22:16:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4PmyWZ1GVbz1sBpn; Wed, 29 Mar 2023 22:16:58 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4PmyWZ0wRrz1qqlS; Wed, 29 Mar 2023 22:16:58 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 8nQXddsQzKae; Wed, 29 Mar 2023 22:16:57 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 29 Mar 2023 22:16:57 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Ye Li X-Patchwork-Id: 1734661 X-Patchwork-Delegate: sbabic@denx.de To: Ye Li ,u-boot@lists.denx.de Subject: [PATCH 06/23] imx: imx8ulp: Adjust handshake to sync TRDC and XRDC completion In-reply-to: <1675154554-88217-7-git-send-email-ye.li@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20230329201719.D9F3A86047@phobos.denx.de> Date: Wed, 29 Mar 2023 22:16:59 +0200 (CEST) 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.8 at phobos.denx.de X-Virus-Status: Clean > To fit the DBD_EN fused part, we re-design the TRDC and XRDC assignment. > M33 will be the TRDC owner and needs to configure TRDC. A35 is the > XRDC owner, ATF will configure XRDC. > The handshake between U-boot and M33 image is used to sync TRDC and > XRDC configuration completion. Once the handshake is done, A35 and M33 > can access the allowed resources in others domain. > The handshake is needed when M33 is booted or DBD_EN fused, because both > cases will enable the TRDC. If handshake is timeout, the boot will hang. > We use SIM GPR0 to pass the info from SPL to u-boot, because before the > handshake, u-boot can't access SEC SIM and FSB. > Signed-off-by: Ye Li > Reviewed-by: Jacky Bai Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================