From patchwork Wed Jul 27 04:24:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyungmin Park X-Patchwork-Id: 1010502 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6R4OUqd026761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Jul 2011 04:24:57 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QlvfO-0006OL-V7; Wed, 27 Jul 2011 04:24:19 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QlvfO-00074N-Fg; Wed, 27 Jul 2011 04:24:18 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QlvfL-000743-SL for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2011 04:24:16 +0000 Received: from epcpsbgm2.samsung.com (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LOZ00MVJ5K5XXK0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2011 13:24:12 +0900 (KST) X-AuditID: cbfee61b-b7c3dae000002cb8-3d-4e2f92ec9f32 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id D1.DC.11448.CE29F2E4; Wed, 27 Jul 2011 13:24:12 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LOZ00FJR5KC0G@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2011 13:24:12 +0900 (KST) Received: from july ([165.213.219.111]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Wed, 27 Jul 2011 13:24:32 +0900 Received: by july (sSMTP sendmail emulation); Wed, 27 Jul 2011 13:24:06 +0900 Date: Wed, 27 Jul 2011 13:24:06 +0900 From: Kyungmin Park Subject: [PATCH] ARM: exynos4: Add TWD base address To: linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com Message-id: <20110727042406.GA14024@july> MIME-version: 1.0 Content-disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-OriginalArrivalTime: 27 Jul 2011 04:24:32.0225 (UTC) FILETIME=[154C5510:01CC4C15] X-Brightmail-Tracker: AAAAAA== X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110727_002416_181086_5FD39C43 X-CRM114-Status: GOOD ( 12.22 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [203.254.224.24 listed in list.dnswl.org] Cc: m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 27 Jul 2011 04:24:57 +0000 (UTC) From: Kyungmin Park When use the s5p_timer for EXYNOS4210 EVT0, it's required. Other s5p platform is guided from CONFIG_LOCAL_TIMER Signed-off-by: Kyungmin Park diff --git a/arch/arm/plat-s5p/s5p-time.c b/arch/arm/plat-s5p/s5p-time.c index c833e7b..bdf5430 100644 --- a/arch/arm/plat-s5p/s5p-time.c +++ b/arch/arm/plat-s5p/s5p-time.c @@ -409,6 +409,9 @@ static void __init s5p_timer_resources(void) static void __init s5p_timer_init(void) { +#ifdef CONFIG_LOCAL_TIMERS + twd_base = S5P_VA_TWD; +#endif s5p_timer_resources(); s5p_clockevent_init(); s5p_clocksource_init();