From patchwork Wed Mar 14 13:14:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 7292 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C552623DEE for ; Wed, 14 Mar 2012 13:14:56 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 8D563A18742 for ; Wed, 14 Mar 2012 13:14:56 +0000 (UTC) Received: by iage36 with SMTP id e36so3136069iag.11 for ; Wed, 14 Mar 2012 06:14:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=gnJ+T7AjFIyN/sFv5m4PHNo5a5NAPXy5uTYxdLCnin0=; b=afra/fmYlCDHnLuDwcmj1YwaOdMyBka75jM6M/G4+16LnVo0H0g8AgkJmwEqnYvk4/ px0iBzLwd67dc7FlFKv2pagAZygx8bfu77XTIXwtqj1w+hNBXuVg95UEQnErGch1Q63u bymhK+SZoqX9X6u7vHhugOth0CeNvtm8mU8EXCFelw9VTs0xAVlPAQxtuCKhhIoggxmo CIDhQ5c/fLVW22s7kU6FFX1+OvOaabA9pAaHpWDPDW6fiQK41sL+Xgcz2jU5Dv0lja1h Uw3IrQMxoKUHYEj/9JmfDBPoy8SVUCfeiTyWVgEnP7Cs7sruyWzdFHtCw4GeVFUPmVls iIzw== Received: by 10.42.147.199 with SMTP id o7mr3534928icv.50.1331730896040; Wed, 14 Mar 2012 06:14:56 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp9800ibg; Wed, 14 Mar 2012 06:14:55 -0700 (PDT) Received: by 10.68.132.40 with SMTP id or8mr3210746pbb.34.1331730894948; Wed, 14 Mar 2012 06:14:54 -0700 (PDT) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx.google.com with ESMTPS id l7si3668260pbd.260.2012.03.14.06.14.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Mar 2012 06:14:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) client-ip=209.85.210.45; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) smtp.mail=chander.kashyap@linaro.org Received: by dadp14 with SMTP id p14so7571901dad.18 for ; Wed, 14 Mar 2012 06:14:54 -0700 (PDT) Received: by 10.68.223.193 with SMTP id qw1mr3178689pbc.61.1331730894612; Wed, 14 Mar 2012 06:14:54 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id q7sm1242710pbf.44.2012.03.14.06.14.51 (version=SSLv3 cipher=OTHER); Wed, 14 Mar 2012 06:14:54 -0700 (PDT) From: Chander Kashyap To: u-boot@lists.denx.de Cc: mk7.kang@samsung.com, bjlee@samsung.com, patches@linaro.org, samsung@lists.linaro.org, linaro-dev@lists.linaro.org, Chander Kashyap Subject: [PATCH] EXYNOS: Rename exynos5_tzpc structure to s5p_tzpc Date: Wed, 14 Mar 2012 18:44:42 +0530 Message-Id: <1331730882-20744-1-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQnxsf7N9FA70YavHTf0wSOBzGR6btMR34pe15p9ZNyNST2jkWMsw/SmibM+fyYOe27llDRM TZPC IP is common across S5P and Exynos based SoC'c. Renaming exynos5_tzpc in arch/arm/include/asm/arch-exynos/tzpc.h to s5p_tzpc will allow generic usase of tzpc. Also modify board/samsung/smdk5250/tzpc_init.c to use s5p_tzpc. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/tzpc.h | 2 +- board/samsung/smdk5250/tzpc_init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/tzpc.h b/arch/arm/include/asm/arch-exynos/tzpc.h index 2c9a07b..63736ae 100644 --- a/arch/arm/include/asm/arch-exynos/tzpc.h +++ b/arch/arm/include/asm/arch-exynos/tzpc.h @@ -22,7 +22,7 @@ #define __TZPC_H_ #ifndef __ASSEMBLY__ -struct exynos5_tzpc { +struct s5p_tzpc { unsigned int r0size; char res1[0x7FC]; unsigned int decprot0stat; diff --git a/board/samsung/smdk5250/tzpc_init.c b/board/samsung/smdk5250/tzpc_init.c index c2ccef3..03e46bb 100644 --- a/board/samsung/smdk5250/tzpc_init.c +++ b/board/samsung/smdk5250/tzpc_init.c @@ -28,7 +28,7 @@ /* Setting TZPC[TrustZone Protection Controller] */ void tzpc_init(void) { - struct exynos5_tzpc *tzpc; + struct s5p_tzpc *tzpc; unsigned int addr; for (addr = TZPC0_BASE; addr <= TZPC9_BASE; addr += TZPC_BASE_OFFSET) {