From patchwork Tue Jun 13 15:15:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 105373 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp458400qgd; Tue, 13 Jun 2017 08:16:26 -0700 (PDT) X-Received: by 10.80.135.88 with SMTP id 24mr274381edv.148.1497366986804; Tue, 13 Jun 2017 08:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497366986; cv=none; d=google.com; s=arc-20160816; b=xSLhs8mxqbceJgV4sjZDNUqLmBvXJSgkJgGWqtnF6YfK/RbCeiNs8aTuW99NXNyAt9 G0DTRggnJ92IJukcjJtQApZA4cnnEIFOC7K4HfdCUpS66o4ddAqbk7u9ziZZiH84d7YS ZC/YT8oPiBbWHpVGTmHIWnKoTK0NXnX3iz5kSTNhepzD1AxR/uG0iDTBLCZeCScxOjAY qlOOtHI3ibjnUs45yj2eJgYHf+W+/bfH0WRrruz0ar9pgZTvpidIv3QrBuazkp35ho5Q hKm2Cv0yp6jw2S23kHSFPj+L4P92BtHZfM/Xah+9rLRa9ysE4nuKJzch018k1fzsTf1+ omlw== 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:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=8A08D/kOSyt0n8mUsvFB++GFLt8ScbndS/RMo7MOM/k=; b=NBBjyOkLjctnIWQ8uiG8CnhF1jn9DSk+jcZn3GROlIskkda3oPkWVKtKlGs3EktOEb b7RGgMZ84/jc2XTELEl7zSkhCaSkc73IWNeXpaMhMdwffmKWRZzcCzcGtvCHCSOrjlGZ wJlnLPsiOGGnfgJgEuyONql3sJikezUDUU0rYE2OOyeaGKTVQU9V1ZAbc0YIB/w28JDX mbIKHuBdZrlgSunfjLz4R7kWLu9BXUn6vVUrl+WLU5X8PU+TTv48YsNfVCUqL38DGUob 9A9JsPcqCG5uQLk1RXyVS7kTno/IpayedBe1vBpHSzGijGjjuxW6qJIokHfEYMFs6qLS zQOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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 a38si175713edd.122.2017.06.13.08.16.26; Tue, 13 Jun 2017 08:16:26 -0700 (PDT) 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; 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 518FBC21E1D; Tue, 13 Jun 2017 15:16:26 +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_NONE, 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 6993DC21D21; Tue, 13 Jun 2017 15:16:04 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4E419C21D21; Tue, 13 Jun 2017 15:16:03 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by lists.denx.de (Postfix) with ESMTPS id C8A36C21C46 for ; Tue, 13 Jun 2017 15:16:02 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id o83so74288475lff.3 for ; Tue, 13 Jun 2017 08:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=kNlWSGMEo+2zv2DYBWWi8qDZpl8gUQQ1Goq8Ppc80nE=; b=RaV7Y9Tra8oTKQYmzoGffhAdvEYZNotuT0qOyr5eI0Mx48rk2PulRnYjJ+mRllrD7Q /zTQ1NuHuwd1gjCTin+bBdZgKCO32dICWmNrw7+V6PfcIJr7MYFzOPKHkaobJtjOXfxk 0NoQNy5KPp+D+iyRnKdAPuHeaFEPXVJ8fVwxA= 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; bh=kNlWSGMEo+2zv2DYBWWi8qDZpl8gUQQ1Goq8Ppc80nE=; b=qU2VXEQBCFymLtNwYzgrNcc1HEN+A3oXYYndzNgG9OnLAqcJdptnw08VJMoEI7P+Ol iGUuk7Axgj2QO35aFVZWszkh1/ojd0xpAPN6u/Ia0rpJ2mexJAjRVdVisMaygVtUKkhk sYgcvRkuR7fb8kK08AkYU1aZyMRlXSxaVSN+yZkZilr9aUzHP9joHruPl7jh5Rj4jKgF +4TjKPiOGWO9FCRDv+/0itMCpXW7+z2IK+NF1JKXIfN5KcCs3rVY9A15QVFlOnPPQ3pG zhLLKyEm5ffEF4nGwjAJqLCtKLZ0eaUfPs633DPj4HgaJlValUAYusqaVnRWC5OhwJAQ TG/A== X-Gm-Message-State: AKS2vOyhnUoxsN8arvQHj3d7takOCAIdB4dUYAncW++4NB8cX4B4hyXt myuKc2XR66+s4jCuIAADPw== X-Received: by 10.25.201.2 with SMTP id z2mr145311lff.72.1497366960982; Tue, 13 Jun 2017 08:16:00 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id u11sm3480278lja.7.2017.06.13.08.15.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Jun 2017 08:15:59 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Tue, 13 Jun 2017 18:15:58 +0300 Message-Id: <20170613151558.19900-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.11.0 Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH] arm: ti: Add missing guards to headers 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" To prevent possible double inclusions in future. Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini Reviewed-by: Tom Rini --- include/environment/ti/dfu.h | 5 +++++ include/environment/ti/mmc.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/include/environment/ti/dfu.h b/include/environment/ti/dfu.h index c9f61a577e..c89005ff4c 100644 --- a/include/environment/ti/dfu.h +++ b/include/environment/ti/dfu.h @@ -6,6 +6,9 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __TI_DFU_H +#define __TI_DFU_H + #define DFU_ALT_INFO_MMC \ "dfu_alt_info_mmc=" \ "boot part 0 1;" \ @@ -75,3 +78,5 @@ "u-boot-env raw 0x1C0000 0x010000;" \ "u-boot-env.backup raw 0x1D0000 0x010000;" \ "kernel raw 0x1E0000 0x800000\0" + +#endif /* __TI_DFU_H */ diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h index b987f71516..4305ebdaaf 100644 --- a/include/environment/ti/mmc.h +++ b/include/environment/ti/mmc.h @@ -6,6 +6,9 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __TI_MMC_H +#define __TI_MMC_H + #define DEFAULT_MMC_TI_ARGS \ "mmcdev=0\0" \ "mmcrootfstype=ext4 rootwait\0" \ @@ -66,3 +69,5 @@ "fi;" \ "fi;" \ "fi;\0" + +#endif /* __TI_MMC_H */