Message ID | 1514596142-22050-6-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5315362qgn; Fri, 29 Dec 2017 17:11:19 -0800 (PST) X-Google-Smtp-Source: ACJfBotQzPPtU4a6WZKD/SQy0agsVCzO2lYh+weKYzcbheUUGvJncjQ6tHPXOINl8bGPuRmniptR X-Received: by 10.80.245.253 with SMTP id x58mr45360724edm.132.1514596278935; Fri, 29 Dec 2017 17:11:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514596278; cv=none; d=google.com; s=arc-20160816; b=k73dfvSpmeIid1rCj5E6GMfzXKx1lJnE35VfBgMLM7C0jy0++2EqK56JrohOOyZeTy eBIYFpacC6dfocx241/Sg/EqZwmxrvbJl3rcJF7m/ov8kxhenh3lzgrb+uxqroR3aee0 8ze1EkvOEKLTcGa1k4S4nuU1qd1rLPotw6v7utfPAkUiNVnz6maIpSzP+6Lw2B5lbjqe wIPdh9Y/uJCRvuzZl3gePt2Ou316sWRkqTqZtHOCAk+mKd6QYuQgqY9gQUp/7LTMb/0K k1xf2C9HcpHEHASISWW/B9RP02e6om+XxBaOOs6Ub7edSeUgbP/2z2T/9+NOJ5u51KVq TgJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=ikhStahDui4p/tFfHpF7zYtX8K+0lVPEu6TRgvewZ2w=; b=Z96kgWb7wZ+WNTZcVA9f8EpF5Lk0ZfNBiLUu4DEkLKoXM1VnAHQWvAWud6EtL5o9fg 9Rxgh9OAZwCktcpZWo0XBz/uzT0/V1X0N+UEiEvtECL5i2PQC/P2U+vK/q40TocwS1wA UxCLkuE2w77Q7uEB+GveyrYu/vCLKvJn1dPDDX19VceWs9bpAT/EJCgMFzNlqkb5G+Oy ND5BIWHq70qfvZ80ZdmCs202vGChWqtN1C/19KmBQaDAYzboaiT4CgfCGogbqZOLgt0A ATqAdNOtD1kmksB5Wlq/ekWO2RcUgfN4eaUZB+OVQWyi8BGMeQ9El3YvF/Wmwf3ZgDMC 5UiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MNDz1EYT; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id v15si5276010eda.290.2017.12.29.17.11.18; Fri, 29 Dec 2017 17:11:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MNDz1EYT; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 705D4C21E0F; Sat, 30 Dec 2017 01:10:53 +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 0364FC21D5D; Sat, 30 Dec 2017 01:09:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C5ADCC21E09; Sat, 30 Dec 2017 01:09:13 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by lists.denx.de (Postfix) with ESMTPS id 1B8FFC21DE4 for <u-boot@lists.denx.de>; Sat, 30 Dec 2017 01:09:10 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id i11so50083437wmf.4 for <u-boot@lists.denx.de>; Fri, 29 Dec 2017 17:09:10 -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=5osmqO6RuGeR5rNp1YmiKz2CDqY4yTY8yMk3hzOQD9k=; b=MNDz1EYTfXwKWuxowLpsDjVlVCmMaAbHJAnyhDv/S75ov70dSWyzJcKg7rZhReTh4H tx24Jv0cBnFwDn1kvsyovsW9ROg7uztUh/1q/3pKsRFctxjg2+aNqE8kcpFq+HJwJ2GC 6DncrqPuES6GbImw5iNkp4sY2AM3ritBqx7/c= 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=5osmqO6RuGeR5rNp1YmiKz2CDqY4yTY8yMk3hzOQD9k=; b=IZJWFJRGzP8t+KlxqdhK4M5P4YCeKDuP+mxk0xk+bfFGiQncko1LFAPqrOhSsqgs5U t+4ivhO+wgO+zE4PxoFgcMe9TvPmm7JSlrkV3TJwY9G8BXuzwONdKiYOb3bs76Mhzr+1 klichAVIuq6xW9MbYWv7wURZkhz154XWmDpjVeQHrtHEmE9VFxmbpyesY6TCnRMgfOAo xj7E96hsABJgRZwpwlk5sZVHCyq7hr9pq23G1kvMNTgogNVRw5KgXfHjsj80djnlI6Bm pd32Pcyp94AScGbYoSln20pRg/y3xh1DCrZVY75XZz0qKQbePFlmNiI3h1OCpsVrSVWG pJZg== X-Gm-Message-State: AKGB3mICjvL9PSRcvmsplhaQZBd02s+sr6TqKW9sSgDmco87CFmmbUja BCza8YQlZYrelsmDzQ6RhCMZNQ4iHDI= X-Received: by 10.80.130.36 with SMTP id 33mr48176655edf.252.1514596149353; Fri, 29 Dec 2017 17:09:09 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id f9sm26484148edm.83.2017.12.29.17.09.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Dec 2017 17:09:08 -0800 (PST) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, brenomatheus@gmail.com Date: Sat, 30 Dec 2017 01:08:34 +0000 Message-Id: <1514596142-22050-6-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514596142-22050-1-git-send-email-bryan.odonoghue@linaro.org> References: <1514596142-22050-1-git-send-email-bryan.odonoghue@linaro.org> Cc: Fabio Estevam <fabio.estevam@nxp.com> Subject: [U-Boot] [PATCH v3 05/25] arm: imx: hab: Move IVT_SIZE to hab.h 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/include/asm/mach-imx/hab.h b/arch/arm/include/asm/mach-imx/hab.h index 1b7a5e4..3c19d2e 100644 --- a/arch/arm/include/asm/mach-imx/hab.h +++ b/arch/arm/include/asm/mach-imx/hab.h @@ -143,6 +143,8 @@ typedef void hapi_clock_init_t(void); #define HAB_CID_ROM 0 /**< ROM Caller ID */ #define HAB_CID_UBOOT 1 /**< UBOOT Caller ID*/ +#define IVT_SIZE 0x20 + /* ----------- end of HAB API updates ------------*/ int authenticate_image(uint32_t ddr_start, uint32_t image_size); diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c index f878b7b..6367562 100644 --- a/arch/arm/mach-imx/hab.c +++ b/arch/arm/mach-imx/hab.c @@ -70,7 +70,6 @@ ((hab_rvt_exit_t *)HAB_RVT_EXIT) \ ) -#define IVT_SIZE 0x20 #define ALIGN_SIZE 0x1000 #define CSF_PAD_SIZE 0x2000 #define MX6DQ_PU_IROM_MMU_EN_VAR 0x009024a8
The size of the IVT header should be defined in hab.h move it there now. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Sven Ebenfeld <sven.ebenfeld@gmail.com> Cc: George McCollister <george.mccollister@gmail.com> Cc: Breno Matheus Lima <brenomatheus@gmail.com> --- arch/arm/include/asm/mach-imx/hab.h | 2 ++ arch/arm/mach-imx/hab.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)