Message ID | 1378124111-26145-6-git-send-email-rajeshwari.s@samsung.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBD6O3O7KQUKBB4UBSKIQKGQE476TU5Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DE9BE25E41 for <linaro@patches.linaro.org>; Mon, 2 Sep 2013 12:13:38 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id n7sf5574799qcx.10 for <linaro@patches.linaro.org>; Mon, 02 Sep 2013 05:13:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:dlp-filter:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=uCjxKErRNp/v4Rk/EBODgx9b08kZk2VTvFVpCLdWvOM=; b=MqxZ8O6RjxOhcwFk/ru8QVinZLOv4NV5iH26GzzTUoC0TtJS0mQkVZv12q1sCeEuIe pylfUHch6oOWGRzM/BUhGPCT39r75mr7ZtSp5gNztRXswftlgc9/iBJTN8bn1acz0m8h q4ANumcZqZsx+GKDIwbe/J/1e/oBEtxwaTXMLD+64xYO7X8OdSkaihlAbgbTKG6s5YHE 4K27cxKjC+Nk3r9V5SLlYr8VhLS+ExvufpkYiWmbw2cH3HRMM8ZYkl5q3q4ocAxWmOeY fy2k8iLPy7QGrkrPI8G3Jtig56tzHsx7evgZZBkl/YJd3/mUs9UxBpOCrA0WYk94TPdQ Kqvg== X-Received: by 10.236.103.134 with SMTP id f6mr7736092yhg.37.1378124018712; Mon, 02 Sep 2013 05:13:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.127.99 with SMTP id nf3ls2257409qeb.83.gmail; Mon, 02 Sep 2013 05:13:38 -0700 (PDT) X-Received: by 10.220.174.200 with SMTP id u8mr12288900vcz.6.1378124018608; Mon, 02 Sep 2013 05:13:38 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id rx1si3082351vdc.125.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Sep 2013 05:13:38 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id c13so2985321vea.24 for <patchwork-forward@linaro.org>; Mon, 02 Sep 2013 05:13:38 -0700 (PDT) X-Gm-Message-State: ALoCoQny0B7PhPDmgyMnu7fjqFhDJj4gQk9hnqEkMaa7oaSuEYkYE554uuCWFUM4ZOTl6XltX6g/ X-Received: by 10.220.10.194 with SMTP id q2mr22556930vcq.2.1378124018515; Mon, 02 Sep 2013 05:13:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp111853vcz; Mon, 2 Sep 2013 05:13:37 -0700 (PDT) X-Received: by 10.69.12.36 with SMTP id en4mr25223399pbd.54.1378124017551; Mon, 02 Sep 2013 05:13:37 -0700 (PDT) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id ar2si10613222pbc.22.1969.12.31.16.00.00; Mon, 02 Sep 2013 05:13:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MSH00LABZ92LDT0@mailout4.samsung.com>; Mon, 02 Sep 2013 21:13:36 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id CE.0D.30629.0F084225; Mon, 02 Sep 2013 21:13:36 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-66-522480f0e256 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 12.C6.05832.0F084225; Mon, 02 Sep 2013 21:13:36 +0900 (KST) Received: from localhost.localdomain.com ([107.108.73.95]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MSH004D4ZABZW60@mmp2.samsung.com>; Mon, 02 Sep 2013 21:13:35 +0900 (KST) From: Rajeshwari S Shinde <rajeshwari.s@samsung.com> To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org, u-boot-review@google.com, Akshay Saraswat <akshay.s@samsung.com> Subject: [PATCH 05/10] Exynos5420: Modify TZPC init to support 5420 Date: Mon, 02 Sep 2013 17:45:06 +0530 Message-id: <1378124111-26145-6-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.11.7 In-reply-to: <1378124111-26145-1-git-send-email-rajeshwari.s@samsung.com> References: <1378124111-26145-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKLMWRmVeSWpSXmKPExsWyRsSkWvdDg0qQwcN7Ahan/jxmtHi4/iaL RceRFkaLKYe/sFh827KN0WL5643sFm/3drI7sHvMbrjI4rFgU6nHnWt72DzO3tnB6NG3ZRVj AGsUl01Kak5mWWqRvl0CV8b3W0eZC25zVFy7+YixgXEqexcjJ4eEgInEkSXfoGwxiQv31rN1 MXJxCAksZZSY+e8+XNHxc3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MQpwMCrx8CosUw4SYk0sK67MPcQowcGsJMLbUK0SJMSbklhZlVqUH19UmpNa fIgxGeiqicxSosn5wPjOK4k3NDYxNzU2tTSxMDGzJE1YSZz3YKt1oJBAemJJanZqakFqEcwW Jg5OqQbGmX8WvXK+NMFZfaPd76a/mSlHl7k6mtlP/5u/hGPinb6pGnJdws3zK+YtnCxdd+w4 05vfaUtX6dx4suVxzEeNj8Knpmav8c78+6tswQvPsIv7ZhqYu5nXX26KWG6wPuHUka8nnhRE yHtum32LeennipaVj+TnSypMSZfuj/mgzmH0M1uPWef4TCWW4oxEQy3mouJEAAbwFUvlAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rajeshwari.s@samsung.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/arch/arm/cpu/armv7/exynos/tzpc.c b/arch/arm/cpu/armv7/exynos/tzpc.c index 395077c..1102596 100644 --- a/arch/arm/cpu/armv7/exynos/tzpc.c +++ b/arch/arm/cpu/armv7/exynos/tzpc.c @@ -23,7 +23,12 @@ void tzpc_init(void) else if (cpu_is_exynos4()) end = start + ((EXYNOS4_NR_TZPC_BANKS - 1) * TZPC_BASE_OFFSET); - for (addr = start; addr <= end; addr += TZPC_BASE_OFFSET) { + if (proid_is_exynos5420()) + addr = start - 0x20000; + else + addr = start; + + for (; addr <= end; addr += TZPC_BASE_OFFSET) { tzpc = (struct exynos_tzpc *)addr; if (addr == start)