All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] omap3: Remove extern declarations from headers
@ 2009-12-23 14:38 Sanjeev Premi
  2009-12-24  5:57 ` Dirk Behme
  0 siblings, 1 reply; 3+ messages in thread
From: Sanjeev Premi @ 2009-12-23 14:38 UTC (permalink / raw)
  To: u-boot

All configurations based on OMAP3 contained extern
declarations.

This set contains two patches that move these declarations
and fix the side-effects of the move.

Sanjeev Premi (2):
  omap3: Remove externs from config files
  omap3: Remove multiple extern decls for gpmc_cfg

 board/ti/evm/evm.c                       |    3 +-
 cpu/arm_cortexa8/omap3/sys_info.c        |    1 +
 include/asm-arm/arch-omap3/omap3_flash.h |   34 ++++++++++++++++++++++++++++++
 include/asm-arm/arch-omap3/omap_gpmc.h   |    5 ++++
 include/configs/omap3_beagle.h           |   12 +++-------
 include/configs/omap3_evm.h              |   14 ++++--------
 include/configs/omap3_overo.h            |   14 ++++--------
 include/configs/omap3_pandora.h          |   12 +++-------
 include/configs/omap3_sdp3430.h          |   13 +++--------
 include/configs/omap3_zoom1.h            |   13 ++++-------
 include/configs/omap3_zoom2.h            |   13 ++++-------
 11 files changed, 74 insertions(+), 60 deletions(-)
 create mode 100644 include/asm-arm/arch-omap3/omap3_flash.h

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

* [U-Boot] [PATCH 0/2] omap3: Remove extern declarations from headers
  2009-12-23 14:38 [U-Boot] [PATCH 0/2] omap3: Remove extern declarations from headers Sanjeev Premi
@ 2009-12-24  5:57 ` Dirk Behme
  2009-12-24  8:23   ` Premi, Sanjeev
  0 siblings, 1 reply; 3+ messages in thread
From: Dirk Behme @ 2009-12-24  5:57 UTC (permalink / raw)
  To: u-boot

On 23.12.2009 15:38, Sanjeev Premi wrote:
> All configurations based on OMAP3 contained extern
> declarations.
>
> This set contains two patches that move these declarations
> and fix the side-effects of the move.
>
> Sanjeev Premi (2):
>    omap3: Remove externs from config files
>    omap3: Remove multiple extern decls for gpmc_cfg
>
>   board/ti/evm/evm.c                       |    3 +-
>   cpu/arm_cortexa8/omap3/sys_info.c        |    1 +
>   include/asm-arm/arch-omap3/omap3_flash.h |   34 ++++++++++++++++++++++++++++++
>   include/asm-arm/arch-omap3/omap_gpmc.h   |    5 ++++
>   include/configs/omap3_beagle.h           |   12 +++-------
>   include/configs/omap3_evm.h              |   14 ++++--------
>   include/configs/omap3_overo.h            |   14 ++++--------
>   include/configs/omap3_pandora.h          |   12 +++-------
>   include/configs/omap3_sdp3430.h          |   13 +++--------
>   include/configs/omap3_zoom1.h            |   13 ++++-------
>   include/configs/omap3_zoom2.h            |   13 ++++-------
>   11 files changed, 74 insertions(+), 60 deletions(-)
>   create mode 100644 include/asm-arm/arch-omap3/omap3_flash.h

Could you kindly elaborate on what's the advantage of this and why it 
is necessary?

Many thanks

Dirk

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

* [U-Boot] [PATCH 0/2] omap3: Remove extern declarations from headers
  2009-12-24  5:57 ` Dirk Behme
@ 2009-12-24  8:23   ` Premi, Sanjeev
  0 siblings, 0 replies; 3+ messages in thread
From: Premi, Sanjeev @ 2009-12-24  8:23 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: Dirk Behme [mailto:dirk.behme at googlemail.com] 
> Sent: Thursday, December 24, 2009 11:28 AM
> To: Premi, Sanjeev
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH 0/2] omap3: Remove extern 
> declarations from headers
> 
> On 23.12.2009 15:38, Sanjeev Premi wrote:
> > All configurations based on OMAP3 contained extern
> > declarations.
> >
> > This set contains two patches that move these declarations
> > and fix the side-effects of the move.
> >
> > Sanjeev Premi (2):
> >    omap3: Remove externs from config files
> >    omap3: Remove multiple extern decls for gpmc_cfg
> >
> >   board/ti/evm/evm.c                       |    3 +-
> >   cpu/arm_cortexa8/omap3/sys_info.c        |    1 +
> >   include/asm-arm/arch-omap3/omap3_flash.h |   34 
> ++++++++++++++++++++++++++++++
> >   include/asm-arm/arch-omap3/omap_gpmc.h   |    5 ++++
> >   include/configs/omap3_beagle.h           |   12 +++-------
> >   include/configs/omap3_evm.h              |   14 ++++--------
> >   include/configs/omap3_overo.h            |   14 ++++--------
> >   include/configs/omap3_pandora.h          |   12 +++-------
> >   include/configs/omap3_sdp3430.h          |   13 +++--------
> >   include/configs/omap3_zoom1.h            |   13 ++++-------
> >   include/configs/omap3_zoom2.h            |   13 ++++-------
> >   11 files changed, 74 insertions(+), 60 deletions(-)
> >   create mode 100644 include/asm-arm/arch-omap3/omap3_flash.h
> 
> Could you kindly elaborate on what's the advantage of this and why it 
> is necessary?

While submitting the patches for AM3517, Wolfgang had mentioned that
etxerns should not be declated in the configs. He and Tom insisted that
mistake cannot be propagated further. And fix had to be found now.

See thread:
http://www.mail-archive.com/u-boot at lists.denx.de/msg25749.html

Specifically:
http://www.mail-archive.com/u-boot at lists.denx.de/msg26154.html
http://www.mail-archive.com/u-boot at lists.denx.de/msg25772.html

This patch is a must before the AM3517 could be supported.

Best regards,
Sanjeev

> 
> Many thanks
> 
> Dirk
> 

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

end of thread, other threads:[~2009-12-24  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 14:38 [U-Boot] [PATCH 0/2] omap3: Remove extern declarations from headers Sanjeev Premi
2009-12-24  5:57 ` Dirk Behme
2009-12-24  8:23   ` Premi, Sanjeev

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.