From patchwork Sun May 17 06:42:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tarek Dakhran X-Patchwork-Id: 6422511 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4DC539F1CC for ; Sun, 17 May 2015 06:42:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7DE9C2051A for ; Sun, 17 May 2015 06:42:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EA3B20549 for ; Sun, 17 May 2015 06:42:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751213AbbEQGme (ORCPT ); Sun, 17 May 2015 02:42:34 -0400 Received: from mail-la0-f66.google.com ([209.85.215.66]:34310 "EHLO mail-la0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784AbbEQGmX (ORCPT ); Sun, 17 May 2015 02:42:23 -0400 Received: by lamq1 with SMTP id q1so1179348lam.1; Sat, 16 May 2015 23:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=I0fGabPkRdaXmS1h6bdfDq/qHuv2xEjupD01q9jPFUY=; b=ZPYpZ3C7aAZpaOyBs34qqmU9u87ME/nVmLDII3H02rYCnAZmF/tvtmVIfejHSqhRhS Y2C/fPI1qu6PV4hG6kYjY3vMRK9mH9orCV0333StDSmAlKgBsxg5Z2nLEmvUCLbeyzIK Qx2B+sBeenLofilJ9i3kHPm7Rw3Y6BxMSxztDFtGx+kMuf3OzmoWNT4HYi6LKz8wnZa9 5TOFi9Wk+mpz7tM9BuSBeyfs5LBuYrKkPDjaj4IaqvFAasHzfuUmUD6lI8vA+XQ8k7Nc /JL2c7TNrC4D18xeIOVSqcJLnon59Edi5g0ofSoQZyTmyZtY2bALTeIt+dLo8fe9TxGH AapA== X-Received: by 10.152.36.227 with SMTP id t3mr13472864laj.12.1431844941877; Sat, 16 May 2015 23:42:21 -0700 (PDT) Received: from localhost.localdomain ([176.195.149.165]) by mx.google.com with ESMTPSA id z1sm1654833laz.48.2015.05.16.23.42.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 May 2015 23:42:20 -0700 (PDT) From: Tarek Dakhran To: kgene@kernel.org Cc: linux@arm.linux.org.uk, k.kozlowski@samsung.com, t.dakhran@gmail.com, t.figa@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/1] ARM: EXYNOS: fix DEBUG_LL on Cortex-A7. Date: Sun, 17 May 2015 09:42:03 +0300 Message-Id: <1431844923-4654-2-git-send-email-t.dakhran@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431844923-4654-1-git-send-email-t.dakhran@gmail.com> References: <1431844923-4654-1-git-send-email-t.dakhran@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Cortex-A7 has EXYNOS5_PA_UART base address for UART. If system boots from Cortex-A7 CPU addruart loads wrong address. This patch fixex this. Signed-off-by: Tarek Dakhran --- arch/arm/include/debug/exynos.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/debug/exynos.S b/arch/arm/include/debug/exynos.S index b17fdb7..a61b3ea 100644 --- a/arch/arm/include/debug/exynos.S +++ b/arch/arm/include/debug/exynos.S @@ -24,6 +24,7 @@ mrc p15, 0, \tmp, c0, c0, 0 and \tmp, \tmp, #0xf0 teq \tmp, #0xf0 @@ A15 + teqne \tmp, #0x70 @@ A7 ldreq \rp, =EXYNOS5_PA_UART movne \rp, #EXYNOS4_PA_UART @@ EXYNOS4 ldr \rv, =S3C_VA_UART