All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: "Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com>
Cc: "Pandita, Vikram" <vikram.pandita@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH 3/3] omap: zoom3: add zoom3 board support
Date: Fri, 23 Oct 2009 14:46:38 -0500	[thread overview]
Message-ID: <4AE2081E.7070501@ti.com> (raw)
In-Reply-To: <A24693684029E5489D1D202277BE89444B781BAA@dlee02.ent.ti.com>

Aguirre Rodriguez, Sergio Alberto had written, on 10/23/2009 02:39 PM, 
the following:
> Vikram,
> 
> Just some comments I came across below.
> 
> From: linux-omap-owner@vger.kernel.org [linux-omap-owner@vger.kernel.org] On Behalf Of Pandita, Vikram
> Sent: Friday, October 23, 2009 2:23 PM
>> Add machine type support for zoom3 board
>> Add board type in Kconfig and Makefile
>> Reused the zoom board file for zoom2 and zoom3
>>
>> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
>> ---
>>  arch/arm/mach-omap2/Kconfig             |    4 ++++
>>  arch/arm/mach-omap2/Makefile            |    3 +++
>>  arch/arm/mach-omap2/board-zoom2-zoom3.c |    4 ++++
>>  3 files changed, 11 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
>> index 8685df5..fa20996 100644
>> --- a/arch/arm/mach-omap2/Kconfig
>> +++ b/arch/arm/mach-omap2/Kconfig
>> @@ -97,6 +97,10 @@ config MACH_OMAP_ZOOM2
>>         bool "OMAP3 Zoom2 board"
> 
> How about also clarifying here ^^ the chip version:
> 
>          bool "OMAP3430 Zoom2 board"
> 
> I mean, just to stick to the convention you're putting below.
> 
>>         depends on ARCH_OMAP3 && ARCH_OMAP34XX
>>
>> +config MACH_OMAP_ZOOM3
>> +       bool "OMAP3630 Zoom3 board"
>> +       depends on ARCH_OMAP3 && ARCH_OMAP34XX
> 
> Shouldn't this be:
> 
>        depends on ARCH_OMAP3 && ARCH_OMAP36XX
> 
is there an ARCH_OMAP36XX? i believe not ;)..


Linux-OMAP build allows for both boards to be defined at the same time.. 
so in theory you could have a single uImage. the strategy followed here 
will fail it.. since the board file is the same one.. it could be made 
to work though..


> ?
> 
>> +
>>  config MACH_CM_T35
>>         bool "CompuLab CM-T35 module"
>>         depends on ARCH_OMAP3 && ARCH_OMAP34XX
>> diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
>> index 68f7419..fac13ba 100644
>> --- a/arch/arm/mach-omap2/Makefile
>> +++ b/arch/arm/mach-omap2/Makefile
>> @@ -74,6 +74,9 @@ obj-$(CONFIG_MACH_NOKIA_RX51)         += board-rx51.o \
>>  obj-$(CONFIG_MACH_OMAP_ZOOM2)          += board-zoom2-zoom3.o \
>>                                            mmc-twl4030.o \
>>                                            board-zoom-debugboard.o
>> +obj-$(CONFIG_MACH_OMAP_ZOOM3)          += board-zoom2-zoom3.o \
>> +                                          mmc-twl4030.o \
>> +                                          board-zoom-debugboard.o
>>  obj-$(CONFIG_MACH_CM_T35)              += board-cm-t35.o \
>>                                            mmc-twl4030.o
>>
>> diff --git a/arch/arm/mach-omap2/board-zoom2-zoom3.c b/arch/arm/mach-omap2/board-zoom2-zoom3.c
>> index 4ad9b94..d806dbf 100644
>> --- a/arch/arm/mach-omap2/board-zoom2-zoom3.c
>> +++ b/arch/arm/mach-omap2/board-zoom2-zoom3.c
>> @@ -281,7 +281,11 @@ static void __init omap_zoom2_map_io(void)
>>         omap2_map_common_io();
>>  }
>>
>> +#ifdef CONFIG_MACH_OMAP_ZOOM3
>> +MACHINE_START(OMAP_ZOOM3, "OMAP ZOOM3 board")
> 
> Case consistency?
> 
> MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board")
> 
> Regards,
> Sergio
> 
>> +#else
>>  MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board")
>> +#endif
>>         .phys_io        = 0x48000000,
>>         .io_pg_offst    = ((0xfa000000) >> 18) & 0xfffc,
>>         .boot_params    = 0x80000100,
>> --
>> 1.6.5.rc1.19.g8426
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Regards,
Nishanth Menon

  reply	other threads:[~2009-10-23 19:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 19:23 [PATCH 0/3] Introduce Zoom3 board Vikram Pandita
2009-10-23 19:23 ` [PATCH 1/3] omap: zoom: reuse zoom2 board file for zoom3 Vikram Pandita
2009-10-23 19:23   ` [PATCH 2/3] omap: zoom2: update makefile for boardfile name change Vikram Pandita
2009-10-23 19:23     ` [PATCH 3/3] omap: zoom3: add zoom3 board support Vikram Pandita
2009-10-23 19:39       ` Aguirre Rodriguez, Sergio Alberto
2009-10-23 19:46         ` Nishanth Menon [this message]
2009-10-23 20:07           ` Aguirre Rodriguez, Sergio Alberto
2009-10-23 21:17             ` Nishanth Menon
2009-10-23 23:06               ` Felipe Balbi
2009-10-23 23:03       ` Felipe Balbi
2009-10-27 21:36         ` Pandita, Vikram
2009-10-28 12:12         ` Welcome: OMAPZoom Tutorial Hour Pandita, Vikram
2009-10-23 23:01   ` [PATCH 1/3] omap: zoom: reuse zoom2 board file for zoom3 Felipe Balbi

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=4AE2081E.7070501@ti.com \
    --to=nm@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=saaguirre@ti.com \
    --cc=vikram.pandita@ti.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.