From patchwork Tue Dec 21 18:20:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 424881 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBLILIMG027363 for ; Tue, 21 Dec 2010 18:21:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752662Ab0LUSVD (ORCPT ); Tue, 21 Dec 2010 13:21:03 -0500 Received: from mail.free-electrons.com ([88.190.12.23]:44940 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752533Ab0LUSVC (ORCPT ); Tue, 21 Dec 2010 13:21:02 -0500 Received: by mail.free-electrons.com (Postfix, from userid 106) id BBCCB1EF; Tue, 21 Dec 2010 19:21:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 902EC16A; Tue, 21 Dec 2010 19:20:49 +0100 (CET) From: Thomas Petazzoni To: linux-omap@vger.kernel.org Cc: Thomas Petazzoni , Thomas Petazzoni Subject: [PATCH 6/6] omap3: beagle: get rid of unused omap2/omap4 specific code/data Date: Tue, 21 Dec 2010 19:20:04 +0100 Message-Id: <1292955604-8809-7-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1292955604-8809-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1292955604-8809-1-git-send-email-thomas.petazzoni@free-electrons.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Dec 2010 18:21:19 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 14f4224..900964a 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include @@ -581,6 +582,9 @@ static void __init omap3_beagle_init(void) omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); beagle_display_init(); + + free_unused_cond_section("omap2"); + free_unused_cond_section("omap4"); } MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")