All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shilimkar, Santosh" <santosh.shilimkar@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: RE: linux-omap git tree updated to v2.6.32-rc1, important changes, please read
Date: Thu, 1 Oct 2009 09:34:37 +0530	[thread overview]
Message-ID: <EAF47CD23C76F840A9E7FCE10091EFAB02BAEE8C41@dbde02.ent.ti.com> (raw)
In-Reply-To: <20090930175506.GO16865@atomide.com>


> -----Original Message-----
> From: Tony Lindgren [mailto:tony@atomide.com]
> Sent: Wednesday, September 30, 2009 11:25 PM
> To: Shilimkar, Santosh
> Cc: linux-omap@vger.kernel.org
> Subject: Re: linux-omap git tree updated to v2.6.32-rc1, important changes,
> please read
> 
> Hi,
> 
> * Shilimkar, Santosh <santosh.shilimkar@ti.com> [090929 03:54]:
> 
> <snip>
> 
> > Thanks for fixing the OMAP4 compilation issues. We need below patch to
> make the kernel boot on OMAP4430 on the latest LO master.
> 
> No problem. In the future, let's make sure the omap4 patches are merged
> into l-o master branch for testing. This time the first three patches
> in the omap-fixes branch were build breakage caused by the omap4 patches
> directly or indirectly..
Agree!! 
> Also, please everybody check that your patches don't break the build
> for other the omaps, and also boot test on some other omaps if someting
> looks risky.
> 
> Few comments below.
> 
> >
> > From d9a22d9f7b68b99aa9607bdab377d998dfe82acd Mon Sep 17 00:00:00 2001
> > From: Santosh Shilimkar <santosh.shilimkar@ti.com>
> > Date: Tue, 29 Sep 2009 16:10:46 +0530
> > Subject: [PATCH] ARM: OMAP4: Allow omap_serial_early_init() for OMAP4430
> board
> >
> > This patch enables omap_serial_early_init() function for OMAP4430
> > SDP. Without this the bootup would throw opps in omap_serial_init().
> 
> The opps probably should be oops above :)

YEP :)

> > Additionally the patch removed the merge issue for the UART4.
> >
> > Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
> > ---
> >  arch/arm/mach-omap2/board-4430sdp.c |    4 ++--
> >  arch/arm/mach-omap2/io.c            |    2 ++
> >  arch/arm/mach-omap2/serial.c        |   10 ----------
> >  3 files changed, 4 insertions(+), 12 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-
> omap2/board-4430sdp.c
> > index eb37c40..609a5a4 100644
> > --- a/arch/arm/mach-omap2/board-4430sdp.c
> > +++ b/arch/arm/mach-omap2/board-4430sdp.c
> > @@ -58,6 +58,8 @@ static void __init gic_init_irq(void)
> >
> >  static void __init omap_4430sdp_init_irq(void)
> >  {
> > +	omap_board_config = sdp4430_config;
> > +	omap_board_config_size = ARRAY_SIZE(sdp4430_config);
> >  	omap2_init_common_hw(NULL, NULL);
> >  #ifdef CONFIG_OMAP_32K_TIMER
> >  	omap2_gp_clockevent_set_gptimer(1);
> > @@ -70,8 +72,6 @@ static void __init omap_4430sdp_init_irq(void)
> >  static void __init omap_4430sdp_init(void)
> >  {
> >  	platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices));
> > -	omap_board_config = sdp4430_config;
> > -	omap_board_config_size = ARRAY_SIZE(sdp4430_config);
> >  	omap_serial_init();
> >  }
> >
> > diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
> > index e3a3bad..56be87d 100644
> > --- a/arch/arm/mach-omap2/io.c
> > +++ b/arch/arm/mach-omap2/io.c
> > @@ -302,7 +302,9 @@ void __init omap2_init_common_hw(struct
> omap_sdrc_params *sdrc_cs0,
> >  	pwrdm_init(powerdomains_omap);
> >  	clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps);
> >  	omap2_clk_init();
> > +#endif
> >  	omap_serial_early_init();
> > +#ifndef CONFIG_ARCH_OMAP4
> >  	omap_hwmod_late_init();
> >  	omap_pm_if_init();
> >  	omap2_sdrc_init(sdrc_cs0, sdrc_cs1);
> > diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
> > index ae21868..54dfeb5 100644
> > --- a/arch/arm/mach-omap2/serial.c
> > +++ b/arch/arm/mach-omap2/serial.c
> > @@ -109,16 +109,6 @@ static struct plat_serial8250_port
> serial_platform_data2[] = {
> >  		.regshift	= 2,
> >  		.uartclk	= OMAP24XX_BASE_BAUD * 16,
> >  	}, {
> > -#ifdef CONFIG_ARCH_OMAP4
> > -		.membase	= OMAP2_IO_ADDRESS(OMAP_UART4_BASE),
> > -		.mapbase	= OMAP_UART4_BASE,
> > -		.irq		= 70,
> > -		.flags		= UPF_BOOT_AUTOCONF,
> > -		.iotype		= UPIO_MEM,
> > -		.regshift	= 2,
> > -		.uartclk	= OMAP24XX_BASE_BAUD * 16,
> > -	}, {
> > -#endif
> >  		.flags		= 0
> >  	}
> >  };
> 
> Can't we fix the extra uart instead of removing it? We just added it!
> It's still there in omap4, right?
This is already fixed. Above piece is not necessary since there is a separate instance for UART4 (serial_platform_data3[])
Regards,
Santosh

  reply	other threads:[~2009-10-01  4:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 19:04 linux-omap git tree updated to v2.6.32-rc1, important changes, please read Tony Lindgren
2009-09-28 21:54 ` Kalle Valo
2009-09-29 14:36   ` green
2009-09-29 10:54 ` Shilimkar, Santosh
2009-09-30 17:55   ` Tony Lindgren
2009-10-01  4:04     ` Shilimkar, Santosh [this message]
2009-09-29 17:24 ` Felipe Contreras
2009-09-29 18:26   ` Tony Lindgren
2009-09-29 19:20     ` Alexander Shishkin
2009-09-29 19:26       ` Aguirre Rodriguez, Sergio Alberto
2009-09-29 19:42         ` Alexander Shishkin
2009-09-29 19:30       ` Tony Lindgren
2009-09-29 19:41         ` Alexander Shishkin
2009-09-30 15:53     ` Roger Quadros
2009-09-30 17:02       ` Alexander Shishkin
2009-09-30 17:04         ` Gadiyar, Anand
2009-09-30 17:31           ` Tony Lindgren
2009-10-01  7:30             ` Roger Quadros
2009-10-01  7:58               ` Alexander Shishkin
2009-10-01  8:06                 ` Roger Quadros
2009-10-01  8:30                   ` Roger Quadros
2009-10-01  8:31                   ` Roger Quadros
2009-10-01  7:58             ` Roger Quadros
2009-09-30 14:07 ` Kevin Hilman
2009-09-30 17:25   ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EAF47CD23C76F840A9E7FCE10091EFAB02BAEE8C41@dbde02.ent.ti.com \
    --to=santosh.shilimkar@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.