Message ID | 1378127507-17671-6-git-send-email-rajeshwari.s@samsung.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBD6O3O7KQUKBBN44SKIQKGQE75XLQ6A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DED3425E41 for <linaro@patches.linaro.org>; Mon, 2 Sep 2013 13:10:15 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id f12sf5174027vbg.7 for <linaro@patches.linaro.org>; Mon, 02 Sep 2013 06:10:15 -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=m7op8ALsXMeKqw8yjFdglYSmrFcMMFw0sw9J8nyZdUA=; b=I13clbRaTGx30a+ZCotoVRQFuF17DWiDU0uYGH4S4CM3tS6uzG9RDpPOUfej8mMeYc n/5yOcKqBX9WChtefyrKPDDhVaD6r3ztsq307xcRQSG7K3gI77Q9rEWCSJ40LrHKtGdn 3sx1PDmeRZis2ePprr/o96wJ9pDv4Fol02ouz37w0hRUOrnOqD3bMnnulZFiihUnQ86s Jzqwvzv27w6YutqDL2OMLhJKaKe3WAkh5JJX+KuUdFfxi3wupk9RIx0IZQjgT4CHYK1D bKXuOVtxOqA8UdS3xGsODusmjOpgwuagdcFdNYpUPgGT00AkS3MgqfGZyDOzvDZfz0GT C2vw== X-Received: by 10.236.153.39 with SMTP id e27mr8183964yhk.14.1378127415681; Mon, 02 Sep 2013 06:10:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.104.84 with SMTP id gc20ls1019578qeb.96.gmail; Mon, 02 Sep 2013 06:10:15 -0700 (PDT) X-Received: by 10.58.171.4 with SMTP id aq4mr503399vec.26.1378127415564; Mon, 02 Sep 2013 06:10:15 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id mu5si3122515vec.103.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Sep 2013 06:10:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 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.182; Received: by mail-ve0-f182.google.com with SMTP id m1so3193972ves.27 for <patchwork-forward@linaro.org>; Mon, 02 Sep 2013 06:10:15 -0700 (PDT) X-Gm-Message-State: ALoCoQmfHGfcNuIeDpMFUYNtzVp5leFtv7w51Xk/8zdjux15buyJ4GLiINirkaRNp5PGnJWYMz5x X-Received: by 10.220.11.7 with SMTP id r7mr22991662vcr.12.1378127415468; Mon, 02 Sep 2013 06:10:15 -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 u4csp114566vcz; Mon, 2 Sep 2013 06:10:14 -0700 (PDT) X-Received: by 10.68.107.162 with SMTP id hd2mr7979977pbb.126.1378127412931; Mon, 02 Sep 2013 06:10:12 -0700 (PDT) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id fl1si10929936pab.199.1969.12.31.16.00.00; Mon, 02 Sep 2013 06:10:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) client-ip=203.254.224.24; Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MSI008T01WG21E0@mailout1.samsung.com>; Mon, 02 Sep 2013 22:10:11 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 5C.DF.22755.33E84225; Mon, 02 Sep 2013 22:10:11 +0900 (KST) X-AuditID: cbfee68f-b7f656d0000058e3-6d-52248e33bdb5 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4B.E7.09055.33E84225; Mon, 02 Sep 2013 22:10:11 +0900 (KST) Received: from localhost.localdomain.com ([107.108.73.95]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MSI00IFJ1WNAS50@mmp1.samsung.com>; Mon, 02 Sep 2013 22:10:11 +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 V2] Exynos5420: Modify TZPC init to support 5420 Date: Mon, 02 Sep 2013 18:41:42 +0530 Message-id: <1378127507-17671-6-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.11.7 In-reply-to: <1378127507-17671-1-git-send-email-rajeshwari.s@samsung.com> References: <1378127507-17671-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMLMWRmVeSWpSXmKPExsWyRsSkTte4TyXI4HW/gsWpP48ZLR6uv8li 0XGkhdFiyuEvLBbftmxjtFj+eiO7xdu9newO7B6zGy6yeCzYVOpx59oeNo+zd3YwevRtWcUY wBrFZZOSmpNZllqkb5fAlfFx6za2gi8cFQtmv2FuYFzG3sXIySEhYCJxrOEqC4QtJnHh3nq2 LkYuDiGBpYwSk3c9YYEpenv4J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0WhxgFOBiVeHgrVigHCbEmlhVX5h5ilOBgVhLhndGqEiTEm5JYWZValB9fVJqT WnyIMRnoqInMUqLJ+cDoziuJNzQ2MTc1NrU0sTAxsyRNWEmc90CrdaCQQHpiSWp2ampBahHM FiYOTqkGxvbFHheWWFk8KZR63qtx38Hcd/aGnrPKRcbJj/n/Oj2eoVK7P7Bn95HMCRk/hR0P St+O92/hkIjti3R7+VR4k/b9ffvOsabb1jipb1iflbKikz9Q71HT4ZAqybjXm7nmGGtIG4Rl P199Wq/C0TrnGX+ZpfqP3dK8DpP3uFpL7np+6kRNwpUPSizFGYmGWsxFxYkAxzMvVOQCAAA= 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.182 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)