From patchwork Mon Jun 17 16:33:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2734991 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A36D29F3A0 for ; Mon, 17 Jun 2013 16:35:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 049AA2046C for ; Mon, 17 Jun 2013 16:35:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5435020467 for ; Mon, 17 Jun 2013 16:34:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752874Ab3FQQeu (ORCPT ); Mon, 17 Jun 2013 12:34:50 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:10306 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752350Ab3FQQes (ORCPT ); Mon, 17 Jun 2013 12:34:48 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOJ0085OQ1L6450@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 17 Jun 2013 17:34:45 +0100 (BST) X-AuditID: cbfec7f4-b7fd76d0000035e1-9e-51bf3aa4dc0b Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id BE.75.13793.4AA3FB15; Mon, 17 Jun 2013 17:34:44 +0100 (BST) Received: from amdc1227.digital.local ([106.116.147.199]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MOJ002RHQ1OMHC0@eusync3.samsung.com>; Mon, 17 Jun 2013 17:34:44 +0100 (BST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Kukjin Kim , Arnd Bergmann , Olof Johansson , Marek Szyprowski , Sylwester Nawrocki , Thomas Abraham , Tomasz Figa , Kyungmin Park Subject: [PATCH v2 11/38] ARM: EXYNOS: common: Remove legacy mapping of chip ID block Date: Mon, 17 Jun 2013 18:33:56 +0200 Message-id: <1371486863-12398-12-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.8.2.1 In-reply-to: <1371486863-12398-1-git-send-email-t.figa@samsung.com> References: <1371486863-12398-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupiluLIzCtJLcpLzFFi42I5/e/4Vd0lVvsDDSZ+MrL4O+kYu0Xvgqts Fmeb3rBbbHp8jdVixvl9TBZrj9xltzh1/TObxeE37awW62e8ZrE4NmMJowOXx+9fkxg97lzb w+axeUm9x5UTTawefVtWMXp83iQXwBbFZZOSmpNZllqkb5fAlbGz8TRrwQ6uirbmeYwNjFc4 uhg5OSQETCS2rv7ECmGLSVy4t56ti5GLQ0hgKaPEopdrWCGcPiaJ77c+sIFUsQmoSXxueARm iwioSnxuW8AOUsQs8JJJ4m7jA3aQhLBAuMTnZ82MIDYLUNHjX3eZQGxeAWeJcxuamCDWKUgc 374NrIYTKL647xYziC0k4CSxe+Yl1gmMvAsYGVYxiqaWJhcUJ6XnGuoVJ+YWl+al6yXn525i hITflx2Mi49ZHWIU4GBU4uFNENsfKMSaWFZcmXuIUYKDWUmEN3bivkAh3pTEyqrUovz4otKc 1OJDjEwcnFINjCLLFqydvvD32ouLvxiWnN9Ut0ChMFxhP//vlAU/LCc9rDOuvOu2rvHq3hsu 0UwZU/46PGwrPbvbnKPAvWPa+pVJlu53+lp97u7imcqSlz9z4bHyH/s2qS5Q7XUqWByRuyum 9qHIrE33+dV2Tjne+qhtk+NS29LnJiYnQ3Q+Bv3V3lM5sb8gNFqJpTgj0VCLuag4EQBs9XAB HQIAAA== 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=-8.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 This patch removes static mapping of chip ID block that was used when booting with ATAGS, which is not supported on Exynos any more. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/common.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 2c8527c..f81aa22 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -99,15 +99,6 @@ static struct cpu_table cpu_ids[] __initdata = { /* Initial IO mappings */ -static struct map_desc exynos_iodesc[] __initdata = { - { - .virtual = (unsigned long)S5P_VA_CHIPID, - .pfn = __phys_to_pfn(EXYNOS_PA_CHIPID), - .length = SZ_4K, - .type = MT_DEVICE, - }, -}; - static struct map_desc exynos4_iodesc[] __initdata = { { .virtual = (unsigned long)S3C_VA_SYS, @@ -365,10 +356,7 @@ void __init exynos_init_io(struct map_desc *mach_desc, int size) { debug_ll_io_init(); - if (initial_boot_params) - of_scan_flat_dt(exynos_fdt_map_chipid, NULL); - else - iotable_init(exynos_iodesc, ARRAY_SIZE(exynos_iodesc)); + of_scan_flat_dt(exynos_fdt_map_chipid, NULL); if (mach_desc) iotable_init(mach_desc, size);