From patchwork Mon Apr 12 12:12:58 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: 419545 Delivered-To: patch@linaro.org Received: by 2002:a02:c4d2:0:0:0:0:0 with SMTP id h18csp1661445jaj; Mon, 12 Apr 2021 04:46:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeZl0lz/QaneEsyruPfgE22Sb1VxKDV/YUBqs/La+sA2Am+N11SkX4V/lxkoYm30ke+JcA X-Received: by 2002:a05:6402:2552:: with SMTP id l18mr28620546edb.71.1618227992829; Mon, 12 Apr 2021 04:46:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618227992; cv=pass; d=google.com; s=arc-20160816; b=eD4jj/L9luAXvKooe1Wzh2+5rx9vdHgjSqfVPF6QZzJrvPkB9uxh/k+WCiVGmwivfc 5YMf5JiMKSq+E17o96rs6LADKTN9YbgYCBmWF1iqHZ14BAxOm8nl2q01wejaqBm5IVH+ bO14LYjpGsnGezgLSIuD0B18RShnhBzkYc7xtp2qrNrOJD3udtPLtd6VPW0SZZ5PIoK8 irYKa+mTuC2jhwf1vJgOvnEIBr4wwOzrw5e55IuWYYA++PYB1+okCuFoagjJaHQ6RAhb bewHIAxXkJT7YaKwNxgFLQdlko3jX8/gzIe/5ZYxuhaHKbuX1Pt6py84pjZvEmWAy9Hu hfzg== 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=ZuMgJTj+2VeVKIvtD7jcHqm+Kb2n/n6gIf2Wgtzz5qc=; b=BN+kHij17/qRZ4ltvyQZFqs9zv0ooQ5+DV4cEvMpfVCyTRQ1oXEp4K3wMOFAPOX1cl AcD/D0AAP+T2Yh8F2RTnZ7kqdPxx6cJ26Tps49ALZrSiyll3UgkWOTTEePIiw+HRT6Ez mDpJGlSwiYLIzRGnEgINQorUCFh2CqDw+x0s/xZnEg35pyKs84r90Mm8i7u/E1zLBNiE ZUowbYGUm6Q+is3p8tTMSUGoDr73DAWDv0dnnkNQpCm3O2Ja4vRQkx4IUdyL1x5MNn7A YVRuX5+spk67AAgGR/g2I3+AyDAZdMAiOAAFT/1lnpBw/3KVCymn02EldBbAK8AWQeJg JIuw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=RaSZchYU; 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 z20si8467116edi.424.2021.04.12.04.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Apr 2021 04:46:32 -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=RaSZchYU; 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 EE4B582032; Mon, 12 Apr 2021 13:45:57 +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="RaSZchYU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 46ACA820AA; Mon, 12 Apr 2021 13:44:50 +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=1.0 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 EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::609]) (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 BD4DD82044 for ; Mon, 12 Apr 2021 13:42:45 +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=cmkEDpZg2pFKNSIu7i+HhOoUz3genO9c4lXoW8bkMXOg8WXwY0ckQDLV5/Hd5vBrCHQfpDWZ3ZybWA1PE9BXFVS8ueuDvvvzDUnucFm5d9Tho7EjlQ4VXsmefJUk5nlWhYQuiBLRXY9ImI1BwGW7W4LJfLwwnnFHfSezNfsf3AoDcKrm9fECt1OcckOJrkL78VNptkalAMGk5EECz+5jyPeiFWIZqRj42Tkgk/ovHkFXJ3DXulQGktee5Z4Midf6Pgp2AefLi+Y+TAgGZvhv1Oa/kssv4gM/4sHf4s033PfykozEwVPgoJU+lxi2a2KMVE8eGjNeBqEHaDWIFdir0A== 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=ZuMgJTj+2VeVKIvtD7jcHqm+Kb2n/n6gIf2Wgtzz5qc=; b=R7QF/iuyx1PmG7/Vvz03hi2tYhO01+ar9peKS8gBBSLDbsJVKNcoz78cWVx6UtAoGoxNP/eJ7yJyjM4vPsaiT8yXuQgPHMQNV8UApZXKIFC3ew7A0ZmQ0DHQwBgNAAyggnWEt5il5ddUS2bUmfOAXR3l6qmQOPluxbUSQpeynCIIqbKpfDlhEcMvIEVuXk6LmvyzBgArpLI+E4Xd6JJhWsJmhZIUFSXzCYZH7wKV5ODObe1q50vIfiSNZufHmG8/sB0+zSvUy3VbQQeywH1efvdii0t49MKGvpuIEdlByYJP0RGoKzhApQg8KdSlg0A+wD1sWJt7w3fgbElBl6AxTg== 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=ZuMgJTj+2VeVKIvtD7jcHqm+Kb2n/n6gIf2Wgtzz5qc=; b=RaSZchYU7ANulrPmK2SFAR5RUuzr64b3G1tT1/8x5tW9QIf+c39ModBmDjRrqm94Nd38Mu9HZt5/HUlmLaK5fg1c4u7LOXQ41a5Z2W8QZdnnNBwH9rRZ9rS6oPQOKrqnjT1f+uIxnzu2MkclwxtR1ew/JVzeTkd0vRPZD9ZVPfQ= 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 DB7PR04MB4233.eurprd04.prod.outlook.com (2603:10a6:5:25::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.22; Mon, 12 Apr 2021 11:42:44 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Mon, 12 Apr 2021 11:42:44 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan , Ye Li Subject: [PATCH 29/37] arm: imx8ulp: release trdc and assign lpav from RTD to APD Date: Mon, 12 Apr 2021 20:12:58 +0800 Message-Id: <20210412121306.11484-30-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210412121306.11484-1-peng.fan@oss.nxp.com> References: <20210412121306.11484-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR0401CA0009.apcprd04.prod.outlook.com (2603:1096:202:2::19) 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 HK2PR0401CA0009.apcprd04.prod.outlook.com (2603:1096:202:2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16 via Frontend Transport; Mon, 12 Apr 2021 11:42:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24754806-f6dc-479d-8c66-08d8fda81625 X-MS-TrafficTypeDiagnostic: DB7PR04MB4233: 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: duXztkyV1ZLHVqFSqRNUxTkSsSxm/WJsqYBNb103qW5gPF+dx8oLmBBnkenY2+x42gNPmkoRy2s0WdZV7pkkwFhEMoj6F8NOvlFqsbvxF6ExfK8WAoXg92EGyxhBdHEyP+9kq0GohkhdUgqiBoc9f8il8sJ1pgwsOTosXn0tu5nAy9k+FD7yK7LNKi0iP9u0ElkUWDTQSX1TaeP2k/HMVmyaxawUxsx2I0E+W2nViFMlpoxsxRPhhO/G//iXLCdZ/tX4k/PIQw1k8BsxHwtcV/6mr5v048VnfTJI/mp1a8BBl5fllggTCO9X1xT2tXV02Tr1TXJbn9fKoHg3jlVSeJJ/HEQ+ZVVbhcPK3c2dMt1dcke8/9bsQ87J9y75CdH+9Z/N353EmjHLDv0Kck2wj0msc1G+Y2JlFxaLM+fhq3XVVnNRCeNMRwp1fXB4Scwa/73MSOybDNl2Vm0cbnQ5kC2Xgzy0uhAqoeeZ6ey8zMs71fCold1Etkgk62BOPfc8dWVRHz6QnNhqKo83O1TscqRSWJBLmwOTDYVNTKVweKvZSX7BCNdiLyHemAHFYQnvSMFpOa0UgYZNZ+h4xPzvyDNSbn9n9cUbq2xinZZlLGN6xsSqe1URMS6d5WzMLEGQg6K//RD8lXwxfQGXJrHBiVoQsfaZ5WKBo3klNQOopQs= 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)(376002)(396003)(39860400002)(136003)(346002)(366004)(52116002)(83380400001)(956004)(86362001)(2616005)(6506007)(66476007)(8676002)(66556008)(1076003)(2906002)(4326008)(16526019)(316002)(54906003)(26005)(5660300002)(6512007)(186003)(8936002)(38350700002)(38100700002)(478600001)(6666004)(6486002)(66946007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: IbWno4q2G2T577mMUMjFzCXrbRQgcRcPFF7Uq4WrQy24az1mlGEmE0rB2YyiPm3aBryIhOjbjvmH6IBkm2kvuiE2XDKCmO3JXK3zxQMyRUf6z/7WjXbC+yV3EZAS69PfcXH8Q0uFWPnPyRyvxesPzzW07rPP6t/+b1OoeTz7dp6nebYUk8kw0G1aatPutFnL+tvxurHfsF9OPPMtaH+m0dEU3lzFHgRng8/JJjO2epW2lzChY+EmbjEj6q+tv48nJwWfFsfcUHx7Kv4FemUWEuRYgpaTH4PPvoCr+lNYsltUMFr04qL3brG/cTyyCI/tOicztR0WAitjaoGwEdnZ8PsfP/Fp6NL/Ei7O3mKt5o/zdvLlDBoYsJLu7uwfYbgQNcol3kfoT9gxQ+7Tiv2qAGj7jIzsD7fQBvtJoGM5jYPaVecfiumoQqwGS21eh4fLytSSi9NfJc1Wd+tn37EdrT9+EUuCFmq635N52xrATXv3ldgxqn/opc9XbY9PYpAkOzW+7lgTdBVNFyWcW0OqWkUHTGcq0CTsPaeDF/fN1+po6dLHt/A6gq0P7KxX2wCfEI8RVCYshD2Aq62Bh/7GqmQitXO79MtAaECDimUAM85BSXXP01FRsTYbvEbkahx5Y3P/AT6w2Nqamr4Saq6YEH5TkZTW+Eo47dMPpc5DeJ5ijPzgkAr+2nybONnE1eEQfPXxrx27u6Yw0HGHYh55Ajv7lNrRyQA0tRVIKoW+eIj/NchOxNKX6aElXt5WxnvEyTW/uGpEcDxMa4tGZ7x6czSGDHoB13XUEsCjhxqHEAibcdykMzxnC/QGKnWpFDIK5TYERZVk0LFPl12IWVl4aIrdcV+wdLez6yBInlXQmocFVSbI/9Q7FE781pnUDSKpLmFG9sNtcPJYZuoM9d2FjO3oSJDTy+LSzmSFZ9ztOcldX81fPVgJaJOGPpF5iU/wGFPjCEQ7wiPosl8WiVfcZ7Gvlfrshv5Ff0nd6d4/wL4qBJo/xZFqXxAULtx9R6Apwc6nLxzapuO7hDTPIMPa4xb+TGILOnJC8F1nLBYfgwbAz5SObwBk8zazHe+YqBlMULh3JgqPGWhZLlqOCpwXSjL1nLD964Wh4Qaxj3pXtbOSwkqUdSQJpn9+VAKia3jZX6ZGA0f/9S5zHDEb1EQ6t1V+cNcqJd7v+m69Cqi+b5mHJIeATxnYhVrnWJEThBlHd4KwQRu+/KIKSTWb9jk+J6n3Yb/Ws2c6mshwBQXDczqt7IqdTd6lMFoMzXoeVdl9SN+wPInC35XBwJ0lh2vnofW4K3F3tOAupOXQm5tNIJiQVBJLCIYq5CL9PM3VqzlA X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24754806-f6dc-479d-8c66-08d8fda81625 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2021 11:42:44.2307 (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: PmD/6BjSwhs6+lCAOFa94M4ywxr1fJxPpR0KL9BGqUktUarMOW7w1xi12d3nkYffyKz3gqDP5jiA8VZ/DGokvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4233 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.102.4 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 ad57c88674..a8791f4612 100644 --- a/arch/arm/mach-imx/imx8ulp/soc.c +++ b/arch/arm/mach-imx/imx8ulp/soc.c @@ -377,6 +377,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; @@ -425,8 +521,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);