From patchwork Fri Jan 11 19:43:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 211412 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 81D3B2C0348 for ; Sat, 12 Jan 2013 06:46:41 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TtkVk-00085J-A8; Fri, 11 Jan 2013 19:43:28 +0000 Received: from mho-04-ewr.mailhop.org ([204.13.248.74] helo=mho-02-ewr.mailhop.org) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TtkVg-00084X-Ea for linux-arm-kernel@lists.infradead.org; Fri, 11 Jan 2013 19:43:25 +0000 Received: from c-50-131-214-131.hsd1.ca.comcast.net ([50.131.214.131] helo=localhost.localdomain) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1TtkVe-0007KK-81; Fri, 11 Jan 2013 19:43:22 +0000 Received: from Mutt by mutt-smtp-wrapper.pl 1.2 (www.zdo.com/articles/mutt-smtp-wrapper.shtml) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 50.131.214.131 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18cD6Q3PI06k8AHloJpSglN Date: Fri, 11 Jan 2013 11:43:19 -0800 From: Tony Lindgren To: Arnd Bergmann , Olof Johansson Subject: Re: [GIT PULL] enable multiplatform support for omap2+ for v3.9 Message-ID: <20130111194319.GN14149@atomide.com> References: <20130110194217.GA14149@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130110194217.GA14149@atomide.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130111_144324_577896_30DF37A6 X-CRM114-Status: GOOD ( 13.96 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [204.13.248.74 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines Cc: Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org * Tony Lindgren [130110 11:46]: > Hi Arnd, Olof, > > Below is a pull request to enable multiplatform support for omap2+. Now that -rc3 is out, here's this one rebased on v3.8-rc3 as requested by Olof. Regards, Tony The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: Linux 3.8-rc3 (2013-01-09 18:59:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.9/multiplatform-enable-signed-v2 for you to fetch changes up to ad1bb1b4e01c5ecbe32133ce6921d0e76cb76dcf: ARM: OMAP2+: Remove now obsolete uncompress.h and debug-macro.S (2013-01-11 11:24:20 -0800) ---------------------------------------------------------------- The last dependency for enabling multiplatform support for omap2+ is now finally gone with commit 62e4d357 (ARM: 7609/1: disable errata work-arounds which access secure registers) that was preventing booting omap4. Note that make uImage will no longer work properly because of unspecified load address, so uImage needs to be created manually with: $ mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 \ -n "Linux" -d zImage-omap2plus uImage-omap2plus You can also boot minimal vexpress configuration using qemu with: $ qemu-system-arm -machine vexpress-a9 -m 1024 -net nic -net user -serial stdio \ -append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p2 rootwait" \ -kernel zImage-omap2plus -initrd initrd.img -sd rootfs.img Please note that some custom defconfigs now need to be updated to include the following options: CONFIG_ARCH_MULTIPLATFORM=y CONFIG_ARCH_MULTI_V7=y CONFIG_ARCH_OMAP2PLUS=y And possibly also: CONFIG_ARCH_MULTI_V6=y Updating is needed at least for RMK's minimal allnoconfig files. And if you need DEBUG_LL for earlyprintk, you now have to select the debug port manually with Kconfig. ---------------------------------------------------------------- Tony Lindgren (9): ARM: OMAP2+: Limit omap initcalls to omap only on multiplatform kernels ARM: OMAP2+: Use omap initcalls ARM: OMAP: Fix i2c cmdline initcall for multiplatform ARM: OMAP: Fix dmaengine init for multiplatform ARM: OMAP2+: Add multiplatform debug_ll support ARM: OMAP2+: Disable code that currently does not work with multiplaform ARM: OMAP2+: Enable ARCH_MULTIPLATFORM support ARM: OMAP2+: Add minimal support for booting vexpress ARM: OMAP2+: Remove now obsolete uncompress.h and debug-macro.S arch/arm/Kconfig | 13 +- arch/arm/Kconfig.debug | 56 +++++++ arch/arm/configs/omap2plus_defconfig | 6 +- .../debug-macro.S => include/debug/omap2plus.S} | 137 +++++++++------- arch/arm/mach-omap1/dma.c | 18 ++- arch/arm/mach-omap1/i2c.c | 6 + arch/arm/mach-omap2/Kconfig | 25 ++- arch/arm/mach-omap2/Makefile | 3 + arch/arm/mach-omap2/board-omap3beagle.c | 2 +- arch/arm/mach-omap2/board-rx51-video.c | 3 +- arch/arm/mach-omap2/clock2xxx.c | 2 +- arch/arm/mach-omap2/clock3xxx.c | 2 +- arch/arm/mach-omap2/devices.c | 6 +- arch/arm/mach-omap2/dma.c | 23 ++- arch/arm/mach-omap2/drm.c | 2 +- arch/arm/mach-omap2/emu.c | 2 +- arch/arm/mach-omap2/fb.c | 4 +- arch/arm/mach-omap2/gpio.c | 5 +- arch/arm/mach-omap2/gpmc.c | 4 +- arch/arm/mach-omap2/hdq1w.c | 3 +- arch/arm/mach-omap2/hwspinlock.c | 2 +- arch/arm/mach-omap2/i2c.c | 5 + arch/arm/mach-omap2/include/mach/serial.h | 37 ----- arch/arm/mach-omap2/include/mach/uncompress.h | 176 --------------------- arch/arm/mach-omap2/mcbsp.c | 3 +- arch/arm/mach-omap2/omap-iommu.c | 2 +- arch/arm/mach-omap2/omap2-restart.c | 3 +- arch/arm/mach-omap2/omap4-common.c | 4 +- arch/arm/mach-omap2/omap_device.c | 5 +- arch/arm/mach-omap2/omap_hwmod.c | 2 +- arch/arm/mach-omap2/omap_phy_internal.c | 2 +- arch/arm/mach-omap2/opp3xxx_data.c | 2 +- arch/arm/mach-omap2/opp4xxx_data.c | 2 +- arch/arm/mach-omap2/pm-debug.c | 2 +- arch/arm/mach-omap2/pm.c | 2 +- arch/arm/mach-omap2/pmu.c | 2 +- arch/arm/mach-omap2/prm3xxx.c | 2 +- arch/arm/mach-omap2/prm44xx.c | 2 +- arch/arm/mach-omap2/serial.c | 2 +- arch/arm/mach-omap2/smartreflex-class3.c | 2 +- arch/arm/mach-omap2/soc.h | 29 ++++ arch/arm/mach-omap2/timer.c | 2 +- arch/arm/mach-omap2/wd_timer.c | 2 +- arch/arm/plat-omap/Kconfig | 32 +--- arch/arm/plat-omap/Makefile | 2 + arch/arm/plat-omap/i2c.c | 3 +- arch/arm/plat-omap/include/plat/i2c.h | 6 + drivers/crypto/omap-sham.c | 3 + drivers/dma/omap-dma.c | 20 +-- drivers/media/rc/Kconfig | 2 +- drivers/staging/tidspbridge/Kconfig | 2 +- 51 files changed, 314 insertions(+), 370 deletions(-) rename arch/arm/{mach-omap2/include/mach/debug-macro.S => include/debug/omap2plus.S} (56%) delete mode 100644 arch/arm/mach-omap2/include/mach/uncompress.h