[PATCH v3] omap: Unify run_shell() in xload configuration

Premi, Sanjeev premi at ti.com
Thu Nov 10 03:50:38 EST 2011


> -----Original Message-----
> From: barebox-bounces at lists.infradead.org 
> [mailto:barebox-bounces at lists.infradead.org] On Behalf Of 
> Premi, Sanjeev
> Sent: Thursday, October 27, 2011 7:42 PM
> To: barebox at lists.infradead.org
> Subject: RE: [PATCH v3] omap: Unify run_shell() in xload configuration
> 
> > -----Original Message-----
> > From: Premi, Sanjeev 
> > Sent: Wednesday, October 12, 2011 4:34 PM
> > To: barebox at lists.infradead.org
> > Cc: Premi, Sanjeev
> > Subject: [PATCH v3] omap: Unify run_shell() in xload configuration
> > 
> > Currently, there are multiple definitions of run_shell()
> > for each board that can be build in "xload" configuration.
> > Now there is only one function used by all boards.
> > 
> > The functions defined in xload.c are used only when "xload"
> > configuration used; but it gets compiled unconditionally.
> > This has been fixed as well.
> > 
> > Signed-off-by: Sanjeev Premi <premi at ti.com>
> > ---
> > 
> >  Change in v3:
> >     Added function omap_bootsrc() to replace the #ifdef
> >     around the switch-case.
> > 
> >  Change in v2:
> >     Fixed the typo in the subject s/iomap/omap/
> >     ...observed when mail reached my inbox :(
> > 
> >  Only build tested with these commands:
> >    make distclean ; make omap3530_beagle_defconfig ; make ;
> >    make distclean ; make omap3530_beagle_xload_defconfig ; make ;
> >    make distclean ; make panda_xload_defconfig ; make ;
> >    make distclean ; make panda_defconfig ; make ;
> >    make distclean ; make pcm049_defconfig ; make ;
> >    make distclean ; make pcm049_xload_defconfig ; make ;
> > 
> > 
> >  arch/arm/boards/omap/board-beagle.c |   31 
> --------------------------
> >  arch/arm/boards/panda/board.c       |   19 ----------------
> >  arch/arm/boards/pcm049/board.c      |   30 
> -------------------------
> >  arch/arm/mach-omap/Makefile         |    3 +-
> >  arch/arm/mach-omap/xload.c          |   41 
> > +++++++++++++++++++++++++++++++++++
> >  5 files changed, 43 insertions(+), 81 deletions(-)
> > 
> 
> Jean-Christophe,
> 
>   Just wanted to check if this patch takes care of your comment[1].
> 
>   [1] 
> http://lists.infradead.org/pipermail/barebox/2011-October/004752.html
> 
> ~sanjeev

Another ping.


> 
> [snip]...[snip]
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 


More information about the barebox mailing list