From patchwork Fri Jun 14 14:02:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 2721981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BB19CC0AB1 for ; Fri, 14 Jun 2013 14:48:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B21BD201F7 for ; Fri, 14 Jun 2013 14:48:38 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6BE412015D for ; Fri, 14 Jun 2013 14:48:37 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnUfD-0001jm-Nm; Fri, 14 Jun 2013 14:07:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnUdc-0000Nt-0p; Fri, 14 Jun 2013 14:06:00 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnUbx-0000Bw-Mr for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2013 14:04:28 +0000 Received: by mail-pa0-f46.google.com with SMTP id fa11so679804pad.5 for ; Fri, 14 Jun 2013 07:03:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=2zdmPxNTgKkM9Oo42oQR4wooHl8PIacBwVy/4GN02uo=; b=QeUMXLkF4mIXeFIkMwpQVHZMNPm2WQCxn+5Zu/l88+bpfbPtMuZyZ0tlbgfsKCg8mL +f93u4Cwnym+yH7hSTvC5jL3qIpNKBXQVB1BmuiRFOlynehCZxPWovz2if7Llj/YS58k sn3tcpk9xvwH4Rex+G2XmBOyp/s9hesqTUV3E1WsbM/ftqMisZ3HOe/YoRTP/xihwTLk SZpbui92Y8XZO1g5yYe9NNZ1WhM2LdXYya8lPLomn0c5TvVsInXx3EETjvFzFknxFLIo kswDQLaK34ZycgAnpoXyISMV4n78XftyQTXj8IeZHnO2TnijMQl6pt1oDs01z9kPJlKt OJxg== X-Received: by 10.68.48.197 with SMTP id o5mr2785574pbn.184.1371218635988; Fri, 14 Jun 2013 07:03:55 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id ri8sm2452804pbc.3.2013.06.14.07.03.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Jun 2013 07:03:55 -0700 (PDT) From: Chander Kashyap To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 09/10] ARM: Exynos: add secondary CPU boot base location for Exynos5420 Date: Fri, 14 Jun 2013 19:32:51 +0530 Message-Id: <1371218572-8993-10-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1371218572-8993-1-git-send-email-chander.kashyap@linaro.org> References: <1370516488-25860-10-git-send-email-chander.kashyap@linaro.org> <1371218572-8993-1-git-send-email-chander.kashyap@linaro.org> X-Gm-Message-State: ALoCoQmv0SkI9LfOHiWi7q3qB8WYgebL9N6XeNUuoLu65A8rH8yyAcTQ9XUN67vV6greXu/kSjaV X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130614_100417_894192_4FC46C95 X-CRM114-Status: GOOD ( 10.68 ) X-Spam-Score: -1.9 (-) Cc: mark.rutland@arm.com, kgene.kim@samsung.com, linux-serial@vger.kernel.org, t.figa@samsung.com, Chander Kashyap , linux-samsung-soc@vger.kernel.org, thomas.ab@samsung.com, s.nawrocki@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The location at which the boot address is specified for secondary CPUs of Exynos5420 is SYSRAM base + 4. Update the cpu_boot_reg function accordingly. Signed-off-by: Chander Kashyap --- arch/arm/mach-exynos/platsmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c index 85ea4ca..7b4c03e 100644 --- a/arch/arm/mach-exynos/platsmp.c +++ b/arch/arm/mach-exynos/platsmp.c @@ -50,6 +50,8 @@ static inline void __iomem *cpu_boot_reg(int cpu) boot_reg = cpu_boot_reg_base(); if (soc_is_exynos4412()) boot_reg += 4*cpu; + else if (soc_is_exynos5420()) + boot_reg += 4; return boot_reg; }