From patchwork Fri Mar 9 17:35:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 131184 Delivered-To: patch@linaro.org Received: by 10.80.194.209 with SMTP id u17csp1291937edf; Fri, 9 Mar 2018 09:38:53 -0800 (PST) X-Google-Smtp-Source: AG47ELtSPJq4SXM6UKJxE9efSkRRT/FTmmxTM1DkwVoigZpHbTJADalqFTRF5U+tll3eHBtomBm8 X-Received: by 10.80.128.230 with SMTP id 93mr38598142edb.34.1520617133233; Fri, 09 Mar 2018 09:38:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520617133; cv=none; d=google.com; s=arc-20160816; b=yfn7CDNx9JR+wLZIR9ylYmHAjh3IQjG+451/peDECIw+8o/snAbcSPnHRXmj9iUa4n PB6u46Vvm1poqVoPWxH1Mo3AmSFyspRPybilHx0nS4R9i2ksuUhF8mw0JIGixNbk5/to /Pulv3XR0zijK8xMd+qhqEGiMWfAQ63Ess9GSj5PSI/9WQwb/p1XiBJr52ibMmWB1oOf eVcjBw5RhGpUBrAIvZDKOtiJJyzoBVbpEUrlw4BqbJvBqiqWXgU/2ZfLss1oEHXtEEJL 8OCLnZ9xXOY9FVj8mf7ZvI9boO9V0VMSVxdPIIOFbdXzt4+DZNsBTtXqnimlxTPKJ1+X 6yYg== 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=xw+zKAlEz9wnlZ5Pf91enb64jmByETx6ggDxyLBZzgY=; b=lSw9bp4dpbMNXCJ2sq0x4bjUz/zYWNDS2q7e52MKDXc3u3pPXzoa/E6jFeD7H380Vh xHaVzCH8biZnE1jF10QRlIrWe7ka4LgDzNzPRa2QQ2+opWYb6MwpnBIzqc1mcTskD5Wo Hqr3zpubz6vr8qIMZ01dd5jtRx5gHec7mCykIp5QV3d2U3jZp1mhQMICZdrFE993V7d8 y6s1qnhXISF+an9RYeGRDKnsWLX/NjImSLuFXEWKV4mCdUa07fexaaxj3cP7xo1Msv69 IHORDfXTRfGoYJAhgGdOCzbUNBIMJq/PZYkTD5AwS60B5TZjI542k0yQ+eVo3QhrSbJE BKew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z3s3ONw8; 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: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id j90si1582236edb.77.2018.03.09.09.38.52; Fri, 09 Mar 2018 09:38:53 -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=Z3s3ONw8; 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 C1826C21DD4; Fri, 9 Mar 2018 17:37: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_DNSWL_BLOCKED, 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 2A659C21DDC; Fri, 9 Mar 2018 17:36:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D35AFC21C93; Fri, 9 Mar 2018 17:35:57 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id 685D6C21DA6 for ; Fri, 9 Mar 2018 17:35:54 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id h21so5310519wmd.1 for ; Fri, 09 Mar 2018 09:35:54 -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=w23afTFoThvuSnE2sI8fbOGrI1fbdXB+VFzky0Uy0T4=; b=Z3s3ONw8mEBNXZHVsfzwJtWMOlH+xe7zbXi9QeXKuPrJkW0TISF006c27D0r0mwPtn BhYraCGyMknod8koHLLztObowwve3SUzlxVq0A3D4PXkn1yGd8pfBcPlX4ta6JsfAAeO hDAb7bljyYh9+IiinNqLZwoosqcDdK7eBicqM= 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=w23afTFoThvuSnE2sI8fbOGrI1fbdXB+VFzky0Uy0T4=; b=deCrF9PzECQ75/sh+JWrB11YWVaT1ljFishoTkXuLjeJAPuCbr2fwGVtvbf1QnavzC LAsa3BrFpVHAaLpZrTVkgFsx3an0GNh8mwGW7TrNrpt6ZHrUBQBUCEUPQMDi3Vqzs6QB ymaOuIT8wpQ11cSx9vPI7C0DF9OHhNaAZZI7kOLlWmxQ0LZmWSkafWTqu+tzhq+U5vKk C5myYqC/csdLyw0GZ6Q2TG6DGtAWKPpQuV44M+Qt22J3EjRUn/vauixshevGwOnUQVZE kzyKvRGIVgfUyCwXwbNGRRUe1mATDpPVM+vm3dJ9fmmxWjxINtr4n0boxZkuhNyYzzOe kCdQ== X-Gm-Message-State: APf1xPDssxlTkvxCdjhkk/MbAZ/9OHLWjnLEbYdW0Wj3uRAH+FySjASU Y28ByMaboom0M2YG+YeNHdAQiYgipBs= X-Received: by 10.80.152.105 with SMTP id h38mr38237277edb.150.1520616953799; Fri, 09 Mar 2018 09:35:53 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id a43sm1210126edd.6.2018.03.09.09.35.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 09:35:53 -0800 (PST) From: Bryan O'Donoghue To: U-Boot@lists.denx.de, sbabic@denx.de Date: Fri, 9 Mar 2018 17:35:48 +0000 Message-Id: <1520616949-11879-4-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520616949-11879-1-git-send-email-bryan.odonoghue@linaro.org> References: <1520616949-11879-1-git-send-email-bryan.odonoghue@linaro.org> Cc: breno.lima@nxp.com, fabio.estevam@nxp.com, utkarsh.gupta@nxp.com Subject: [U-Boot] [PATCH 3/4] imx: hab: Specify IVT padding size X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patch adds IVT_PAD_SIZE at 0xC00. The IVT header is padded to this size. Defining the size explicitly makes it possible to use the define to locate the start/end of an IVT header without using magic numbers in code. Signed-off-by: Bryan O'Donoghue Cc: Utkarsh Gupta Cc: Breno Lima Cc: Fabio Estevam --- arch/arm/include/asm/mach-imx/hab.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/mach-imx/hab.h b/arch/arm/include/asm/mach-imx/hab.h index 1bebdbe..f903e3e 100644 --- a/arch/arm/include/asm/mach-imx/hab.h +++ b/arch/arm/include/asm/mach-imx/hab.h @@ -205,6 +205,7 @@ bool imx_hab_is_enabled(void); #endif /* __ASSEMBLY__ */ #define IVT_SIZE 0x20 +#define IVT_PAD_SIZE 0xC00 #define CSF_PAD_SIZE 0x2000 #endif