Message ID | 1371466836-4111-10-git-send-email-chander.kashyap@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ED7D79F472 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Jun 2013 12:00:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B4D6202B8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Jun 2013 12:00:41 +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 23CBD2025B for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Jun 2013 12:00:40 +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 1UoXEi-0002u4-Dz; Mon, 17 Jun 2013 11:04:39 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UoXCp-00040O-ND; Mon, 17 Jun 2013 11:02:39 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UoXC5-0003ur-Rh for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2013 11:01:54 +0000 Received: by mail-pd0-f180.google.com with SMTP id 10so2658913pdi.39 for <linux-arm-kernel@lists.infradead.org>; Mon, 17 Jun 2013 04:01:31 -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=TRpuHavWcnPrfCWacQtVyBKbv+KfipoDICkyHpl6U1+AmD51kDcaHZrUPTe59WcR+x VlQ4BlqpJhE60ypAvhB2x5Jt93Kk+yayx+J3nqguiZe6tIOtt3LEJRGkuRa9ZC6o9VIg n89OKI+207axYmt2tS+jiVuTjVCUsCbe+gmIDz4ZaKNqnbdCbjDcv48PUAL33HSmK/Nc thCYGWmWiV3t2A21fJbqUG9MK9nvDsHMVs01roD1buMZRO1CCYze5kPF2YThgvFPO11H FmzUVMxlWn8WPo1cDqhAFtd8Gz17Ii2CcpvtcmONe/t1vISI8Nv1c25REtqaWR8gRiLh n8Dg== X-Received: by 10.68.163.97 with SMTP id yh1mr12693568pbb.33.1371466891717; Mon, 17 Jun 2013 04:01:31 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id ep3sm4547645pbd.27.2013.06.17.04.01.28 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Jun 2013 04:01:31 -0700 (PDT) From: Chander Kashyap <chander.kashyap@linaro.org> To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 09/10] ARM: Exynos: add secondary CPU boot base location for Exynos5420 Date: Mon, 17 Jun 2013 16:30:34 +0530 Message-Id: <1371466836-4111-10-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1371466836-4111-1-git-send-email-chander.kashyap@linaro.org> References: <1371466836-4111-1-git-send-email-chander.kashyap@linaro.org> X-Gm-Message-State: ALoCoQnW03z+zfz1PhTu3UzHOEWTOfHkTz1IfwxEJRI3+a+v0Oknvhdm+MxTkkS7QkyyRuV1BiQf X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130617_070154_013136_AA6E506C X-CRM114-Status: GOOD ( 10.16 ) 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 <chander.kashyap@linaro.org>, 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.3 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 |
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; }
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 <chander.kashyap@linaro.org> --- arch/arm/mach-exynos/platsmp.c | 2 ++ 1 file changed, 2 insertions(+)