public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
* [PATCH] arm: omap: complete removal of machine_desc.io_pg_offst and .phys_io
@ 2010-10-18 12:57 Anand Gadiyar
  2010-10-18 14:12 ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Anand Gadiyar @ 2010-10-18 12:57 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 861bd81ee6 in linux-next as of 20101018 (arm: remove
machine_desc.io_pg_offst and .phys_io) missed out on updating
a few boards. This causes the build of omap2plus_defconfig
to fail. Fix this.

Signed-off-by: Anand Gadiyar <gadiyar@ti•com>
Cc: Nicolas Pitre <nicolas.pitre@linaro•org>
Cc: Eric Miao <eric.miao@canonical•com>
Cc: Tony Lindgren <tony@atomide•com>
---
I've not boot tested on these three boards, and am simply following
what the original patch does.

 arch/arm/mach-omap2/board-cm-t3517.c   |    2 --
 arch/arm/mach-omap2/board-igep0030.c   |    2 --
 arch/arm/mach-omap2/board-omap3logic.c |    4 ----
 3 files changed, 8 deletions(-)

Index: mainline/arch/arm/mach-omap2/board-cm-t3517.c
===================================================================
--- mainline.orig/arch/arm/mach-omap2/board-cm-t3517.c
+++ mainline/arch/arm/mach-omap2/board-cm-t3517.c
@@ -283,8 +283,6 @@ static void __init cm_t3517_init(void)
 }
 
 MACHINE_START(CM_T3517, "Compulab CM-T3517")
-	.phys_io	= 0x48000000,
-	.io_pg_offst	= ((0xd8000000) >> 18) & 0xfffc,
 	.boot_params	= 0x80000100,
 	.map_io		= omap3_map_io,
 	.reserve        = omap_reserve,
Index: mainline/arch/arm/mach-omap2/board-igep0030.c
===================================================================
--- mainline.orig/arch/arm/mach-omap2/board-igep0030.c
+++ mainline/arch/arm/mach-omap2/board-igep0030.c
@@ -392,8 +392,6 @@ static void __init igep3_init(void)
 }
 
 MACHINE_START(IGEP0030, "IGEP OMAP3 module")
-	.phys_io	= 0x48000000,
-	.io_pg_offst	= ((0xfa000000) >> 18) & 0xfffc,
 	.boot_params	= 0x80000100,
 	.map_io		= omap3_map_io,
 	.init_irq	= igep3_init_irq,
Index: mainline/arch/arm/mach-omap2/board-omap3logic.c
===================================================================
--- mainline.orig/arch/arm/mach-omap2/board-omap3logic.c
+++ mainline/arch/arm/mach-omap2/board-omap3logic.c
@@ -225,8 +225,6 @@ static void __init omap3logic_init(void)
 }
 
 MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board")
-	.phys_io	= 0x48000000,
-	.io_pg_offst	= ((0xd8000000) >> 18) & 0xfffc,
 	.boot_params	= 0x80000100,
 	.map_io		= omap3_map_io,
 	.init_irq	= omap3logic_init_irq,
@@ -235,8 +233,6 @@ MACHINE_START(OMAP3_TORPEDO, "Logic OMAP
 MACHINE_END
 
 MACHINE_START(OMAP3530_LV_SOM, "OMAP Logic 3530 LV SOM board")
-	.phys_io	= 0x48000000,
-	.io_pg_offst	= ((0xd8000000) >> 18) & 0xfffc,
 	.boot_params	= 0x80000100,
 	.map_io		= omap3_map_io,
 	.init_irq	= omap3logic_init_irq,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm: omap: complete removal of machine_desc.io_pg_offst and .phys_io
  2010-10-18 12:57 [PATCH] arm: omap: complete removal of machine_desc.io_pg_offst and .phys_io Anand Gadiyar
@ 2010-10-18 14:12 ` Russell King - ARM Linux
  2010-10-18 14:21   ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2010-10-18 14:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Oct 18, 2010 at 06:27:36PM +0530, Anand Gadiyar wrote:
> Commit 861bd81ee6 in linux-next as of 20101018 (arm: remove
> machine_desc.io_pg_offst and .phys_io) missed out on updating
> a few boards. This causes the build of omap2plus_defconfig
> to fail. Fix this.

Not quite true.  The patch merged into my tree eliminates io_pg_offst and
phys_io for everything that is in my tree.

For new board support code which isn't in my tree, there is a problem -
patches to it can't be applied to my tree.

However, applying these patches to the trees which have the new code in
won't have the other changes related to the removal of io_pg_offst, and
so the support code will subtly break until it's all merged together.

There's two solutions to this.  One is to wait merging new board code
until after this merge window.  The other is to ensure that new board
code is in _my_ tree before the io_pg_offst changes were submitted...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm: omap: complete removal of machine_desc.io_pg_offst and .phys_io
  2010-10-18 14:12 ` Russell King - ARM Linux
@ 2010-10-18 14:21   ` Russell King - ARM Linux
  2010-10-18 21:45     ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2010-10-18 14:21 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Oct 18, 2010 at 03:12:30PM +0100, Russell King - ARM Linux wrote:
> On Mon, Oct 18, 2010 at 06:27:36PM +0530, Anand Gadiyar wrote:
> > Commit 861bd81ee6 in linux-next as of 20101018 (arm: remove
> > machine_desc.io_pg_offst and .phys_io) missed out on updating
> > a few boards. This causes the build of omap2plus_defconfig
> > to fail. Fix this.
> 
> Not quite true.  The patch merged into my tree eliminates io_pg_offst and
> phys_io for everything that is in my tree.
> 
> For new board support code which isn't in my tree, there is a problem -
> patches to it can't be applied to my tree.
> 
> However, applying these patches to the trees which have the new code in
> won't have the other changes related to the removal of io_pg_offst, and
> so the support code will subtly break until it's all merged together.
> 
> There's two solutions to this.  One is to wait merging new board code
> until after this merge window.  The other is to ensure that new board
> code is in _my_ tree before the io_pg_offst changes were submitted...

I'm going to drop the io_pg_offst patches for a couple of days.  If
this new board support can be sorted out to come into my tree in the
next 24 hours, then I'm sure we can get this fixed properly.

I don't think I can afford to hold the io_pg_offst patches for more
than 48 hours though, so Wednesday evening they'll be merged whatever.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm: omap: complete removal of machine_desc.io_pg_offst and .phys_io
  2010-10-18 14:21   ` Russell King - ARM Linux
@ 2010-10-18 21:45     ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2010-10-18 21:45 UTC (permalink / raw)
  To: linux-arm-kernel

* Russell King - ARM Linux <linux@arm•linux.org.uk> [101018 07:13]:
> On Mon, Oct 18, 2010 at 03:12:30PM +0100, Russell King - ARM Linux wrote:
> > On Mon, Oct 18, 2010 at 06:27:36PM +0530, Anand Gadiyar wrote:
> > > Commit 861bd81ee6 in linux-next as of 20101018 (arm: remove
> > > machine_desc.io_pg_offst and .phys_io) missed out on updating
> > > a few boards. This causes the build of omap2plus_defconfig
> > > to fail. Fix this.
> > 
> > Not quite true.  The patch merged into my tree eliminates io_pg_offst and
> > phys_io for everything that is in my tree.
> > 
> > For new board support code which isn't in my tree, there is a problem -
> > patches to it can't be applied to my tree.
> > 
> > However, applying these patches to the trees which have the new code in
> > won't have the other changes related to the removal of io_pg_offst, and
> > so the support code will subtly break until it's all merged together.
> > 
> > There's two solutions to this.  One is to wait merging new board code
> > until after this merge window.  The other is to ensure that new board
> > code is in _my_ tree before the io_pg_offst changes were submitted...
> 
> I'm going to drop the io_pg_offst patches for a couple of days.  If
> this new board support can be sorted out to come into my tree in the
> next 24 hours, then I'm sure we can get this fixed properly.
> 
> I don't think I can afford to hold the io_pg_offst patches for more
> than 48 hours though, so Wednesday evening they'll be merged whatever.

Go ahead, I'll patch up accordingly in the omap tree so it will all
merge nicely in for-next and for the merge window.

Regards,

Tony

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-18 21:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-18 12:57 [PATCH] arm: omap: complete removal of machine_desc.io_pg_offst and .phys_io Anand Gadiyar
2010-10-18 14:12 ` Russell King - ARM Linux
2010-10-18 14:21   ` Russell King - ARM Linux
2010-10-18 21:45     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox