Message ID | d2b68949868755827ad6e6142573dea96f17604c.1584971878.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 3d037524756ef2dce6a072975d6a73a5a89d414c |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=czZwJIrV; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48mGFG4QKZz9sNg for <incoming@patchwork.ozlabs.org>; Tue, 24 Mar 2020 00:58:42 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9FDF181901; Mon, 23 Mar 2020 14:58:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="czZwJIrV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E9CB6818BC; Mon, 23 Mar 2020 14:58:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (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 70409818BC for <u-boot@lists.denx.de>; Mon, 23 Mar 2020 14:58:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x341.google.com with SMTP id d1so14916931wmb.2 for <u-boot@lists.denx.de>; Mon, 23 Mar 2020 06:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LWCcz0iQlkmB9PZrpydcr66GqhfLQ2dZvhdrKY1draA=; b=czZwJIrVFOysKdFnqTY9zSE9lsp1ZTBcrKAW/Jl8kK5pY4n4fboAKwaPxNwm7qOvOh BkCqx5rPIblX6/Dju04Y0bggx8kGK0Swmt0MyxChBO56Zqj7ZQkHhjjEcxpcnaHpfwQj /P4A+NiKzZuINjRByqlMfBN+4Av9k0phb5mDHXuBjlaNdMHvUtiTnwkCRPW0y9s6ZXIA 5xLXrx6jMQ3mW7+YBYKbWPBMyol2fBzm6E6JObNbEKWQcPMsLnxhJSKqvsUgcOsPEj5C 52c7ne9RRCgieHGluPOCFIjCQbaY1FIFrKl7/uh7r9LfbLKwF3JRg67CaT0qZi2iAb77 7+7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=LWCcz0iQlkmB9PZrpydcr66GqhfLQ2dZvhdrKY1draA=; b=syN0dGBm95fBOUlgoMxqoTSkn/EXM1/klgFx8z53TDpGS63jn3uSvPlK/kbosZtGff HNJKMz6XBBsBaZFAYILsW/0Aal3bqtfQXPMIlleTPB2qdQEcxlD0/Ny0NWdix6ZRuW78 mHD84eAvIvKwDPmVmTyR8zPo4Ke4R3D3xdw5ebryvV/OWTiSg3cqSQbPAV6onLGyUnoH S/Rw4LoayRmIKkjpg1kwMshg7+ovIk3rv9jQkFbxEaWJgHs2atTm7Y1uA1mLgQAq/c8T K+iOAROvJefebF+gKQYoiIWdiywJlHwU7OJpsmbE/N4GPF72fcvObAF0GRlp1DiRr241 leRg== X-Gm-Message-State: ANhLgQ137bd+wQyrWZqQajMKQzmt6TNylZbPJZ+AEeuj468zQCqyKK/n iQjhZkKk/aApSClMvhyvMV46bQNkdGhpiw== X-Google-Smtp-Source: ADFU+vs4Wb0/kEkedxeNw2i/X/XP/K8yNeYrQZLZxd3/LgVEGVBW36Qnv1Yd1Ya1FuMZuEgaz1VL4Q== X-Received: by 2002:a1c:9d09:: with SMTP id g9mr28008109wme.68.1584971885792; Mon, 23 Mar 2020 06:58:05 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id a192sm22695183wme.5.2020.03.23.06.58.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Mar 2020 06:58:05 -0700 (PDT) From: Michal Simek <michal.simek@xilinx.com> To: u-boot@lists.denx.de, git@xilinx.com, ynezz@true.cz Subject: [PATCH 2/3] arm64: zynqmp: Reorder parameters for zynqmp_mmio_write() Date: Mon, 23 Mar 2020 14:57:59 +0100 Message-Id: <d2b68949868755827ad6e6142573dea96f17604c.1584971878.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1584971878.git.michal.simek@xilinx.com> References: <cover.1584971878.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
arm64: zynqmp: Add support for running U-Boot in EL3 again
|
expand
|
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index eb1bc0861e2f..3c92b1a5825f 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -515,7 +515,7 @@ static int reset_reason(void) env_set("reset_reason", reason); - ret = zynqmp_mmio_write(~0, ~0, (ulong)&crlapb_base->reset_reason); + ret = zynqmp_mmio_write((ulong)&crlapb_base->reset_reason, ~0, ~0); if (ret) return -EINVAL;
Parameter order is not correct based on zynqmp_mmio_write() declaration. Fixes: be52372ff1bb ("arm64: zynqmp: Use zynqmp_mmio_read/write functions") Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- board/xilinx/zynqmp/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)