Message ID | 1515760819-15116-13-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Awaiting Upstream |
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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="B2kcPXE7"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zJ2fw0dg3z9sQm for <incoming@patchwork.ozlabs.org>; Fri, 12 Jan 2018 23:51:03 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 565EBC22193; Fri, 12 Jan 2018 12:47:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9B7AEC22213; Fri, 12 Jan 2018 12:42:00 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9C31AC21EF7; Fri, 12 Jan 2018 12:40:42 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.denx.de (Postfix) with ESMTPS id 9DAAFC22150 for <u-boot@lists.denx.de>; Fri, 12 Jan 2018 12:40:38 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id r78so11665329wme.0 for <u-boot@lists.denx.de>; Fri, 12 Jan 2018 04:40:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uPf5TXpZuo5tthq/fIi2SUs55wI+DtHZLs3ap6wroog=; b=B2kcPXE7lBycY6PQKfWpCgWK/v1tYhYtk5fQ4FIN4o93RUERpybe56A81qZCHW5TZ7 baUwUfN9geayKCI0vJGBe62LfFWkg/F1ZeeEP/4fcjq8O5j+UDFzE3yBZ+ihJrIXqkVt HwYaAVJCRSY3L7CwuVd4wzhjjKRbKic/AGh7U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uPf5TXpZuo5tthq/fIi2SUs55wI+DtHZLs3ap6wroog=; b=YuIqaJmqcoSU2nJ1R0mndwYwDejmsf/rvayL9BOwUttWB9X/YGPQdXf2bzYF+LWJMH mrDgp/8/O7RB31o60ZSpf6QHzsSfV1jG3aFN/E1hOQyEMSVJaBy4pgdbPWfPjdhr8gN7 rty1HvGKkaNkYP9n+o0ZGJH8qRDYZCDM/IWtkD97T1CMLdDVmv+NRoLH0dfGQg2uA3j0 5VhDGw4u7Gg1NY0tYdeAQ9T9zjRmJn/vqvnCGV196wAN+hHbD/29u4CORWyqpLm+0h4K 4FcdmTJ7Bh8D0GBPDkzBteJ+qvre6/PM2zpcL9hyDoSKdB2m7/87rvLf4Xa9U7/B6PVv wyzA== X-Gm-Message-State: AKwxytfJ+V90rgdxD3q09OtzqVFB/XotsiUJnstM8PifKKBKh646tKon GgRIhUYYXji/kcIWvY1sTilZlgbEgig= X-Google-Smtp-Source: ACJfBovdSKnnfWy+pPhgAQ2bYPGIk+rVRgbi9xo38Q/8Qy3WXVi0dfoEiG0twGwoN+UElX9jYGKhfQ== X-Received: by 10.80.142.188 with SMTP id w57mr1970034edw.11.1515760838088; Fri, 12 Jan 2018 04:40:38 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id w2sm13893585edb.4.2018.01.12.04.40.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Jan 2018 04:40:37 -0800 (PST) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, brenomatheus@gmail.com Date: Fri, 12 Jan 2018 12:40:06 +0000 Message-Id: <1515760819-15116-13-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515760819-15116-1-git-send-email-bryan.odonoghue@linaro.org> References: <1515760819-15116-1-git-send-email-bryan.odonoghue@linaro.org> Cc: Fabio Estevam <fabio.estevam@nxp.com> Subject: [U-Boot] [PATCH v6 12/25] arm: imx: hab: Print CSF based on IVT descriptor X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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: <http://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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
Fix and extend i.MX HAB layer
|
expand
|
diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c index a8e3e79..229c723 100644 --- a/arch/arm/mach-imx/hab.c +++ b/arch/arm/mach-imx/hab.c @@ -466,8 +466,7 @@ int authenticate_image(uint32_t ddr_start, uint32_t image_size, print_buffer(ivt_addr, (void *)(ivt_addr), 4, 0x8, 0); puts("Dumping CSF Header\n"); - print_buffer(ivt_addr + IVT_SIZE, (void *)(ivt_addr + IVT_SIZE), 4, - 0x10, 0); + print_buffer(ivt->csf, (void *)(ivt->csf), 4, 0x10, 0); #if !defined(CONFIG_SPL_BUILD) get_hab_status();