Message ID | 1515760819-15116-6-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Accepted |
Commit | 191d8bd509023ccea9cff3129dc8ae76fe297b2d |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2023328qgn; Fri, 12 Jan 2018 04:51:59 -0800 (PST) X-Google-Smtp-Source: ACJfBotluV4j1aIlpteRVMhWg9XW2rxdV8eOCKAhU0qzZozsxxcwp3y4el0oOjReVcCj8a70HVQa X-Received: by 10.80.144.13 with SMTP id b13mr3114958eda.165.1515761519233; Fri, 12 Jan 2018 04:51:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515761519; cv=none; d=google.com; s=arc-20160816; b=gxtsSq0+pjBOKolrTtvLhibR8K6QHjrtdHNwQy4RDd8e6qnfzr++3mvVuhICOxMZ2a iIUBBd/osIcv3SyisKBHrbmCUtcYgMQJ78knoNgTI32ZCgfbiTZdmw81CaPho4OViC0H Yu35jlCMd5do6LSXwpRCYOBgsJFIB2mP2p9jpH/mWXosNGt20pgMIeQmX0KUhEohGrjJ FfYRhDHj6F5KnjV873Awe4Wh9Tx3tmTzsJs6pfvOZUW5OXwxOM/P9JGAotgM08Icts76 cn1s6ZmUfy2Vw+0+rbnbQgE6CB/8H4XubgCESYJ1fknp06A97zh5REzBJvUyQfGSIm93 f30w== 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=KC9co8ZgUqQ8aUszl/4ctf5wf3DHwqQOPqGhNoMTZWw=; b=owSd1nlQR14ANeKsMvG20v6mBvcVYk9o6AlD0krPzLEi/0VqeEB4hUaA80LLpoSjmx 1bzLqC7LKnBaC5T2ugLNVRSOoc98Sg/GM5VHb/o29KBerpCSgJugxsUu3ji8I/7cfDZo 1Zpbth7W1o5HIkW2xeNionEPCWvEB5L0Gn96EEptq4T9E0ULGf3Od/XAL95SVEJAFCTw dyhte1JrjSrSJEwo2BoSJ9Qtc+KStRQQBckYhY6ur6jYadTA+3luWyOkI8YHAKn9sjPL QsYVMe315rGXJyyGKcreDiFUKrM32Nky8O9Q50ppTtky9ngh0Dbo2KxTBZBtivQKt6W5 PEfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=POpmyNHx; 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 i31si2607694edi.530.2018.01.12.04.51.58; Fri, 12 Jan 2018 04:51:59 -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=POpmyNHx; 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 B9394C221EA; Fri, 12 Jan 2018 12:44:12 +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 5FEF4C221F8; Fri, 12 Jan 2018 12:41:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7B9AAC221D9; Fri, 12 Jan 2018 12:40:33 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 706DBC22186 for <u-boot@lists.denx.de>; Fri, 12 Jan 2018 12:40:29 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id i11so11510844wmf.4 for <u-boot@lists.denx.de>; Fri, 12 Jan 2018 04:40:29 -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=tHg73M2mIVttQCjo4Q7oDJtFBX0+gr0bhQX5+ednXxU=; b=POpmyNHxuqPxSJ8PzIkrb0Hdaz185dtQ+gSYY+zme9qcKFm5pEQsTBhzIiw+FbhfEQ shJi/900A5/CkLlVduHclWRJcGjjMKLe2MSu93puzG66aKczveO0FFia2TzoBSiq2Bwc UO8Jsm30UphcCOam1zdx6iLKYir6LqwO1s/2s= 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=tHg73M2mIVttQCjo4Q7oDJtFBX0+gr0bhQX5+ednXxU=; b=c4+i4zg42ecOL/DUN48b5F1ZcE4BJZDMN4ZFvBXWidZK1BynQ5ZwQ5e5HFkA+q7iOe 9/ntTTwtIWVcACZP3w9n9rs3fbJqCb+v9f9s+etl90+VWn/QAxVRhAhkHT+m8Y1mP0IH HQ7tjJQwQOYMD31YGA4ng0CY6JNSqhkAof3eGYPq1EZQE+eHrheIU09EcF/f8paj4GV3 8+tC+vQ4edr/L/jedD08v+FZTsT+uEDwg4dlEz/ioa5TVQys5kKr+yp8ChHAbP+y5jVL 4eFOWrFGEV5aIzhAUOmt1HNNeOjHHYWANTknGjMP/t/DpgzgSkQSHV3lVwR27b7xA3w9 0ssQ== X-Gm-Message-State: AKwxytdP8d+VeGLBT9aLvLRkskcPloplaVxrVMQ7ikY0O2M8qTiAcW6q Vfpf1jnThmNEc/jv4sJUPxlyjJCPYTg= X-Received: by 10.80.214.74 with SMTP id c10mr17207676edj.80.1515760828831; Fri, 12 Jan 2018 04:40:28 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id w2sm13893585edb.4.2018.01.12.04.40.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Jan 2018 04:40:28 -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:39:59 +0000 Message-Id: <1515760819-15116-6-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 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