From patchwork Tue Aug 9 19:41:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 3328 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E53CD2406C for ; Tue, 9 Aug 2011 19:41:59 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id B550DA18435 for ; Tue, 9 Aug 2011 19:41:59 +0000 (UTC) Received: by mail-qw0-f52.google.com with SMTP id 8so279384qwb.11 for ; Tue, 09 Aug 2011 12:41:59 -0700 (PDT) Received: by 10.229.42.10 with SMTP id q10mr2841923qce.45.1312918919430; Tue, 09 Aug 2011 12:41:59 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.190.71 with SMTP id dh7cs57332qcb; Tue, 9 Aug 2011 12:41:58 -0700 (PDT) Received: from mr.google.com ([10.213.7.219]) by 10.213.7.219 with SMTP id e27mr3114232ebe.69.1312918918729 (num_hops = 1); Tue, 09 Aug 2011 12:41:58 -0700 (PDT) Received: by 10.213.7.219 with SMTP id e27mr2241673ebe.69.1312918917913; Tue, 09 Aug 2011 12:41:57 -0700 (PDT) Received: from eu1sys200aog113.obsmtp.com (eu1sys200aog113.obsmtp.com [207.126.144.135]) by mx.google.com with SMTP id v11si193632eem.123.2011.08.09.12.41.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 12:41:56 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.135 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.135; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.135 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob113.postini.com ([207.126.147.11]) with SMTP ID DSNKTkGNfrnvme2rBSrAMaK4HzKbUBli87FE@postini.com; Tue, 09 Aug 2011 19:41:56 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 4EB1E47; Tue, 9 Aug 2011 19:41:49 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id D5CBE75; Tue, 9 Aug 2011 19:41:48 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 94F25A8072; Tue, 9 Aug 2011 21:41:40 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 9 Aug 2011 21:41:48 +0200 From: Linus Walleij To: Cc: Lee Jones , Linus Walleij Subject: [PATCH 4/5] mach-u300: delete bogus memory mappings Date: Tue, 9 Aug 2011 21:41:45 +0200 Message-ID: <1312918905-11927-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.3.2 MIME-Version: 1.0 From: Linus Walleij Get rid of the bogus memory map to TCM (there is a real mechanism for handling that nowadays!) and the commented- out declaration of the ROM. Signed-off-by: Linus Walleij --- arch/arm/mach-u300/core.c | 19 ------------------- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 8b78af9..ba0b1d3 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -68,25 +68,6 @@ static struct map_desc u300_io_desc[] __initdata = { .length = SZ_32K, .type = MT_DEVICE, }, - { - .virtual = 0xffff2000, /* TCM memory */ - .pfn = __phys_to_pfn(0xffff2000), - .length = SZ_16K, - .type = MT_DEVICE, - }, - - /* - * This overlaps with the IRQ vectors etc at 0xffff0000, so these - * may have to be moved to 0x00000000 in order to use the ROM. - */ - /* - { - .virtual = U300_BOOTROM_VIRT_BASE, - .pfn = __phys_to_pfn(U300_BOOTROM_PHYS_BASE), - .length = SZ_64K, - .type = MT_ROM, - }, - */ }; void __init u300_map_io(void)