From patchwork Tue Jun 29 02:32:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 468284 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4508588jao; Mon, 28 Jun 2021 19:05:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEEbfi9RS2vZoMyBvUCCu8yBp8S1bvog3z9oD27G6glQGMr6ehjUzAn5yy0ZdKlJ1oD3if X-Received: by 2002:a17:906:4d99:: with SMTP id s25mr23925668eju.349.1624932324699; Mon, 28 Jun 2021 19:05:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624932324; cv=pass; d=google.com; s=arc-20160816; b=VW/3d0BKxbiNIOLri/cFjUbFMAPToH9KzV6QZwPt6iSet0OOx8GGa30FQa9+3P6K7i ix2io9M/J1NCXQ89WNYSjkBh7r+p3O71LIBivmrSWWLVcAl2MZHNY94fGXEsm/YBSVVq IQDwFh8rjocf5YkSy6zyk3VmmOWlF/JCDBUQ4zcflZGIy7NZ1k50Xjrl8e/baIyugUla t5tUOGpJvrCVz5G+eTYZb+h5v++L6bTPdU21sL8WeTyNTgfwMUX8MYa9Btk3nb9g8SOk XeNYJUcZrNG55sJCsR9EpFUj7eYQfIm7ocH8P2eGbeBYbnoO7zIQM3IjPWtKvmzzHONX L0Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=SM7wQoZPfTof5cvek/LTF2Bsmyn/joESbzZf4Z6F0fI=; b=FaEug+EEAxfh4HX1qtUDl7Zb24yYwThUL2j6kCG/RAmfo+Ci72tePt45abebrObm7U Lk0sLtIv5X+TPjsvALKZcJMeB10eSky7iX4U7IjY+jNM3i8OivGNoHFufJhbec68scet Ipw9UUm9cZjqhTa8pQazW+sqCofgBGUbKZ5BEF7wvyLlOfsieBDztbZPTuy679qtjpjK dgQkPv35vPtOfswllRSrKYyJzcF9rqDy6iHFJWofILw11blHIXPGru4/nvMBOXlVTL2X mvH67FyOkGf9+juwonDE7gc6EHz2hFyAvmiDKxKVLP2PvE/Z6LSGDIdtC4BgZqHvGTqv rqQA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=l8x0e+Rd; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id cb19si14933940edb.10.2021.06.28.19.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 19:05:24 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=l8x0e+Rd; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7DAA18315D; Tue, 29 Jun 2021 04:01:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.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=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="l8x0e+Rd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 08C6F83133; Tue, 29 Jun 2021 04:00:43 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0605.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::605]) (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 BE5B08311E for ; Tue, 29 Jun 2021 04:00:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GgLYjYzs10qpFI/QiTwbNIk6SbTbto7K9hnBefyo/DaQKfh76Arg+aEcj0jpRR5CNzkDMrA06n7cZjkJPzZXGH9EINNcDkF1rdmnMU8pgfIBWpMqen+joygx3lAE3o2wp4kdvMoQbMKAyQ4H6AuAzV2acG2qGFQId4wKpd5S/kk2bvgPPuXiyGdECAr6IXdXrZf28cVMhfXwukVubvGY9cwdxGbEajAdBBESA2gCfcu7hGhVFtBvrqj5RgH3XeIWZIPGAK9iW9A2tw0REpr+Lpj8N+rTS1rWWrBBcgXXdIn7ePhOG/spu56YfKw1li4ZIXazvDmB58HPQkorKsE6SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SM7wQoZPfTof5cvek/LTF2Bsmyn/joESbzZf4Z6F0fI=; b=air8n873+zNUBgGl9b0vX8B3FK7VoFdtI5xVRAJaCLiMkRaZfX/kpF/7zg6jTr75Di9UMSHQju8Hb93UfXTOliciu27+LyvJQYBa9xFlslSD5g7PZwQTJ94dy9Qbl0OwIrIq5LI1JWxNMyDFig3bfq8BcnunGG2AthaB3+cOLIZOYEL/oSCDLW/NORjcPqzO9KVhPE2Z8wD6ANMplNXqWXO7V9CHynaroAHM8O1+PXxf/9XUCrbaET0j7yISmHSH7BDZTp+EE+3gcQNeuc8OOqZC4YVsivlq2JhQgBBUHFtamBDvls+W5r3MY6ba5WZ7Ca0jRtZDHWweo6FV2oWOPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SM7wQoZPfTof5cvek/LTF2Bsmyn/joESbzZf4Z6F0fI=; b=l8x0e+Rd4NOuaA0UngrgtG2TdY6kygP9JhqEHMchHni+bzhSSxrtJ9Xi8TiURX8tD39kxtDSs36j/+coFowH484rHfqj5Uubi6UcJ64Y+NiGFe7o360zmLjOXZkV0D8Glf0UeycVjuvUw9TzCGDUr9KJSWi0sgO/TjedVBzR91E= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR04MB3126.eurprd04.prod.outlook.com (2603:10a6:6:7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Tue, 29 Jun 2021 02:00:24 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4264.026; Tue, 29 Jun 2021 02:00:24 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan , Ye Li Subject: [PATCH V2 29/46] arm: imx8ulp: release trdc and assign lpav from RTD to APD Date: Tue, 29 Jun 2021 10:32:23 +0800 Message-Id: <20210629023240.22394-30-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210629023240.22394-1-peng.fan@oss.nxp.com> References: <20210629023240.22394-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19 via Frontend Transport; Tue, 29 Jun 2021 02:00:22 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bf4eae68-3cac-4cb8-b039-08d93aa1a898 X-MS-TrafficTypeDiagnostic: DB6PR04MB3126: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ITqXL4DOzaslZhUz0jwvkgeRNuXo+K5AwAYQ6TDtu8d3y/Rt7fH3JW3+hhu45GMxZijsCfALkrUtQVnb+fC9ySBN6ZIMjb7Zv6F0YPN3pzs+YKAkShaxo1MPQsbfVvkcvk8a/TInHk00ym3ziW2wT73wlNgWT6JA7x/8JBtKowNY5fCAEZbNy3FbJR2ecCPUuEZax6gURz1RHQJJ80gopBj8MSEXruKoLYJbEbYxMmhJ2yOmvd10juErx7HuTmEnb5pUzMlaIxwf10FO+SYk1+EabFiTVxdFcn6m2o24+SA1jrdHBCSSr8OUuUtuzqA7bMVdznDlTxwXcHptPtBsCtejei7/8C/CcHhugQui9dzSgOx9YfOcB+KPqBCz2S6mzy3ADH+QueMR5WKqOAw8HjTVOHGKoZIUlOdKesYjzFYZ/CtiZXKVwfhSeGYbeHRMiEXwv3OvidyinuR+XeiPvU3+3QVrVjSx3eIwABkPhK/+JgWZ3YwZ7ESZ21ADX/fpDoCNfEc8CCcl3uVAwTmHvCuDI2bgC7OrvpKlIM83xlGwpxvgk+5U9Do3DdGlv/seaMqZo6GPHR/Wal6o+5SELJAGIHLJRAUMWI6+6qGuIuz9wsi2PSOvvcK8mXGB9vAu9Ve4gZjNJovSTYyj8FyAj5QwvELjD+2pGhuvnN5CaEYkh2xwA12PYG//67NdHGket8ekAyGwA9tTWBhfeWvir3gHsUcaYTaU+OlG89uG/b0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(366004)(376002)(396003)(136003)(66946007)(316002)(38100700002)(66476007)(52116002)(38350700002)(186003)(4326008)(956004)(6512007)(6486002)(2906002)(26005)(54906003)(16526019)(66556008)(8936002)(86362001)(478600001)(5660300002)(6506007)(8676002)(83380400001)(1076003)(2616005)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OkJbzXY6wznMk8WG3mMnN0Zp7jrBfJw1nr9B0EJVNWaUb5C0PRZlkduaQlKyjuq9pdyKBVit/lwSIfHH4/fl6Ry4VR2hzj8b7X6wje2J4udlBe1pHJZklqRbs8t3IZutFn5aV4fK64ChGu5l76a/CBmhVIHfM1KvItOR3daDgHLXlc+pyyuMWY4Q37iVp9KkEe6OreQTzdZjCeIWAp0J+5inrouJoaesHgSyLMDgcJ1nsDYD5qugDPxpv/tqLYG3w57cDrMIXZyZENtXMTJLfWd4VOkiqL9hQl2vTWkS0+Qv3PncbRIiHa1kmzgxfOPQdSpm5YXAe6I+5Lb4x9LNmG899Z8n9rKs8z3KKQfyc0lPvce2X1xW4oPD6hDBz1suJfOqr9mlGKi216YRclgBy4PEnxgkYcllfARCG3Kdc9FQbKs1i8c2BVehdP0OVRIE9pbJayfTYdcvmHkGFZNzn1kGffoQzz3jR3ffmrLBJSdqstuLqidGL/wczFaK8/59/G6KH/pSgXCnp3eYvfmZkwTeMaCSV8JvnwshfuEZEuHvD9+SQQ2GT4zSaIki3R4EI0G27U068j6CENikINWuM//rPcjMhyiGLDl8qCb0W9Z70XnsHFOBIAVvuicibR1iCY+LIgmr1OyyAkc76FikvjK7u21aIqoV4NNEMbMHyb9sTIzPwcqrFmuxAx5SsuYf+7+xiDryF2tFElUnxGVpr764d0H2HAYq+s0I2EJYWfCneUtYyp+BOm9MmVqNb27++nOSIAt9D83yqxILxD3ft9hQLUi7eglzgy2iv5ruCSgbpMTDCLNTlDdmIlTMXs1ssQFfHaOUJcyIq7GxH/NQgFwa+REqeqbIhcerO6Ozc4TgpbehnR8njecpOqdj2S4+gJd+F+JhC+KsY3JcYhhLsCxg0r2yXDIhjNoAjqtafewg/gPrN78wBFWpQTxevnpUjfUlpEBJ3Y9YONS2hquuqZvFdS1dzWgzWutF3FvDgOtOFGoBsJXNYDvctUuX+q3RyuxGGwk3widr5ntsLwTdoNgCRNdYqSJTnTCmgR0r+E3RuLduzlTp01fbrNjqPgDYbi82xysjld3KRin57QwdI/B9v7WZVbxam2kWVzLNgrNtak+uDMsQTZg4eMDvdtbvPLzrTZ+GlaAvb2CrtWK8KXKgBwS9ftuQyEwFloNzfTPU+CnN8rW4tAjywMQjeEcxr7CyVGLQyXSWbWrwszNDWp9Wtm6QxGtik5AcNA5NyWEParNFxPR9mBtpuStQlV/ZyyqXG6WT46g1pB/rKxOtqmrkRtaUu+u+F5/KJYZtbnNHnkgGHpLe9L1B4+uWZuQd X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf4eae68-3cac-4cb8-b039-08d93aa1a898 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2021 02:00:24.4299 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mCT8FPp9BhpKfKSrSOtcJuByaTEq+d41h9VnXzKOdu0u2mQ368GYuDK/kug0H9FiaSKg+kXooQR9hwAGZFrElA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR04MB3126 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Rlease LPAV from RTD to APD Release gpu2D/3D to APD Set TRDC MBC2 MEM1 for iomuxc0 access Since upower depends AP/M33 SW to configure IOMUX for its PMIC i2c and MODE pins. we have to open iomuxc0 access for A35 core (domain 7) in single boot. Signed-off-by: Peng Fan Signed-off-by: Ye Li --- arch/arm/mach-imx/imx8ulp/soc.c | 104 +++++++++++++++++++++++++++++++- 1 file changed, 103 insertions(+), 1 deletion(-) -- 2.30.0 diff --git a/arch/arm/mach-imx/imx8ulp/soc.c b/arch/arm/mach-imx/imx8ulp/soc.c index 43fe62c2fd..29f7d5be02 100644 --- a/arch/arm/mach-imx/imx8ulp/soc.c +++ b/arch/arm/mach-imx/imx8ulp/soc.c @@ -380,6 +380,102 @@ static int release_rdc(enum rdc_type type) return ret; } +struct mbc_mem_dom { + u32 mem_glbcfg[4]; + u32 nse_blk_index; + u32 nse_blk_set; + u32 nse_blk_clr; + u32 nsr_blk_clr_all; + u32 memn_glbac[8]; + /* The upper only existed in the beginning of each MBC */ + u32 mem0_blk_cfg_w[64]; + u32 mem0_blk_nse_w[16]; + u32 mem1_blk_cfg_w[8]; + u32 mem1_blk_nse_w[2]; + u32 mem2_blk_cfg_w[8]; + u32 mem2_blk_nse_w[2]; + u32 mem3_blk_cfg_w[8]; + u32 mem3_blk_nse_w[2];/*0x1F0, 0x1F4 */ + u32 reserved[2]; +}; + +struct trdc { + u8 res0[0x1000]; + struct mbc_mem_dom mem_dom[4][8]; +}; + +/* MBC[m]_[d]_MEM[s]_BLK_CFG_W[w] */ +int trdc_mbc_set_access(u32 mbc_x, u32 dom_x, u32 mem_x, u32 blk_x, u32 perm) +{ + struct trdc *trdc_base = (struct trdc *)0x28031000U; + struct mbc_mem_dom *mbc_dom; + u32 *cfg_w, *nse_w; + u32 index, offset, val; + + mbc_dom = &trdc_base->mem_dom[mbc_x][dom_x]; + + switch (mem_x) { + case 0: + cfg_w = &mbc_dom->mem0_blk_cfg_w[blk_x / 8]; + nse_w = &mbc_dom->mem0_blk_nse_w[blk_x / 32]; + break; + case 1: + cfg_w = &mbc_dom->mem1_blk_cfg_w[blk_x / 8]; + nse_w = &mbc_dom->mem1_blk_nse_w[blk_x / 32]; + break; + case 2: + cfg_w = &mbc_dom->mem2_blk_cfg_w[blk_x / 8]; + nse_w = &mbc_dom->mem2_blk_nse_w[blk_x / 32]; + break; + case 3: + cfg_w = &mbc_dom->mem3_blk_cfg_w[blk_x / 8]; + nse_w = &mbc_dom->mem3_blk_nse_w[blk_x / 32]; + break; + default: + return -EINVAL; + }; + + index = blk_x % 8; + offset = index * 4; + + val = readl((void __iomem *)cfg_w); + + val &= ~(0xFU << offset); + + if (perm == 0x7700) { + val |= (0x0 << offset); + writel(perm, (void __iomem *)cfg_w); + } else if (perm == 0x0077) { + val |= (0x8 << offset); /* nse bit set */ + writel(val, (void __iomem *)cfg_w); + } else { + return -EINVAL; + } + + return 0; +} + +int trdc_set_access(void) +{ + /* + * CGC0: PBridge0 slot 47 + * trdc_mbc_set_access(2, 7, 0, 47, 0x7700); + * For secure access, default single boot already support, + * For non-secure access, need add in future per usecase. + */ + trdc_mbc_set_access(2, 7, 0, 49, 0x7700); + trdc_mbc_set_access(2, 7, 0, 50, 0x7700); + trdc_mbc_set_access(2, 7, 0, 51, 0x7700); + trdc_mbc_set_access(2, 7, 0, 52, 0x7700); + + trdc_mbc_set_access(2, 7, 0, 47, 0x0077); + + /* iomuxc 0 */ + trdc_mbc_set_access(2, 7, 1, 33, 0x7700); + + return 0; +} + static void xrdc_mrc_region_set_access(int mrc_index, u32 addr, u32 access) { ulong xrdc_base = 0x292f0000, off; @@ -428,8 +524,14 @@ int arch_cpu_init(void) /* Disable wdog */ init_wdog(); - if (get_boot_mode() == SINGLE_BOOT) + if (get_boot_mode() == SINGLE_BOOT) { release_rdc(RDC_TRDC); + trdc_set_access(); + /* LPAV to APD */ + setbits_le32(0x2802B044, BIT(7)); + /* GPU 2D/3D to APD */ + setbits_le32(0x2802B04C, BIT(1) | BIT(2)); + } /* release xrdc, then allow A35 to write SRAM2 */ release_rdc(RDC_XRDC);