From patchwork Thu Jul 30 13:35:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 51697 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 156BF22E7D for ; Thu, 30 Jul 2015 13:37:45 +0000 (UTC) Received: by lbcjj5 with SMTP id jj5sf14386599lbc.1 for ; Thu, 30 Jul 2015 06:37:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:cc:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=6yUKkJAgxVlCcvWQMXGrnHRzReiv6CxuIAlUHKhP0SA=; b=RKM7Jg6hV6T9ytl/s2NMBQZXPk0bIV6CkQeIj/5iW0WYlDu0YeW2YjKUkbeN0efJ1G psiu4wHUFEcN7ChzS+KzenIrBJ7/dtWaHm9hGyYZR5Llnmnuki3grJMbrC4VBxVxKRtC ODyYIzwIz91vgIBmcR144wZsz7ZFweeqt3B7XMy1b9gt96En0vd/FTf+J2O6Wu/hR+DY QwjERncMgOWzPlupkScrjiL3sALQp57XUcmOkXijk0q5vDjG5hfv9SVRGDmvTFZOEKH+ Li/2Q4QUvhLOlBYW9XJbwmHe3LupQlcylV6xJCIY/zR2hOZ01zQ1K+Avg0W5L+n9EnAI GnGA== X-Gm-Message-State: ALoCoQlXvx2gq6Xo91KFxezqwjnJxogB+lnjg3uFHrYpNe1Y8sMGQGDOrANmJ9bThO61N+wDiq3q X-Received: by 10.152.28.100 with SMTP id a4mr17737202lah.4.1438263463662; Thu, 30 Jul 2015 06:37:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.227 with SMTP id n3ls185801lan.0.gmail; Thu, 30 Jul 2015 06:37:43 -0700 (PDT) X-Received: by 10.112.158.70 with SMTP id ws6mr44336508lbb.28.1438263463496; Thu, 30 Jul 2015 06:37:43 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id qc8si826944lbb.149.2015.07.30.06.37.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 06:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbqc9 with SMTP id c9so1894252lbq.1 for ; Thu, 30 Jul 2015 06:37:43 -0700 (PDT) X-Received: by 10.112.125.34 with SMTP id mn2mr40083459lbb.76.1438263463354; Thu, 30 Jul 2015 06:37:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp621354lba; Thu, 30 Jul 2015 06:37:42 -0700 (PDT) X-Received: by 10.50.30.196 with SMTP id u4mr5252400igh.11.1438263461813; Thu, 30 Jul 2015 06:37:41 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id mq9si2539227pdb.128.2015.07.30.06.37.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 06:37:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZKo0b-0007er-UG; Thu, 30 Jul 2015 13:36:29 +0000 Received: from mail-lb0-f176.google.com ([209.85.217.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZKo0Y-00079g-HS for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2015 13:36:27 +0000 Received: by lbbud7 with SMTP id ud7so23280940lbb.3 for ; Thu, 30 Jul 2015 06:36:01 -0700 (PDT) X-Received: by 10.112.8.108 with SMTP id q12mr44175183lba.113.1438263361114; Thu, 30 Jul 2015 06:36:01 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by smtp.gmail.com with ESMTPSA id w7sm250917lag.42.2015.07.30.06.35.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 06:36:00 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: ux500: move ASIC ID remap to ITCM area Date: Thu, 30 Jul 2015 15:35:56 +0200 Message-Id: <1438263356-29705-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150730_063626_774393_4E6F0859 X-CRM114-Status: GOOD ( 14.28 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.217.176 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.217.176 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Cc: Linus Walleij MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The Ux500 does not have ITCM memory so we can remap the ASIC ID at 0xfffe0000 to get that remap out of the vmalloc area. Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/db8500-regs.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-ux500/db8500-regs.h b/arch/arm/mach-ux500/db8500-regs.h index 27399553c841..65b7a689374c 100644 --- a/arch/arm/mach-ux500/db8500-regs.h +++ b/arch/arm/mach-ux500/db8500-regs.h @@ -182,8 +182,11 @@ */ #define U8500_IO_VIRTUAL 0xf0000000 #define U8500_IO_PHYSICAL 0xa0000000 -/* This is where we map in the ROM to check ASIC IDs */ -#define UX500_VIRT_ROM IOMEM(0xf0000000) +/* + * This is where we map in the ROM to check ASIC IDs, as the Ux500s + * do not have TCM memory, we can reuse the ITCM reserved area. + */ +#define UX500_VIRT_ROM IOMEM(0xfffe0000) /* This macro is used in assembly, so no cast */ #define IO_ADDRESS(x) \