[U-Boot] [PATCH 1/2 V5] cmd_bdinfo: move implementation to arch instead of common

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Apr 6 00:49:31 CEST 2009


On 23:01 Sun 05 Apr     , Wolfgang Denk wrote:
> Dear Jean-Christophe PLAGNIOL-VILLARD,
> 
> In message <1238927618-15438-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> > introduce 3 new weak functions board_bdinfo, cpu_bdinfo and soc_bdinfo to allow
> > board, cpu and soc to print more information
> > 
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > Acked-by: Mike Frysinger <vapier at gentoo.org>
> > Acked-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
> 
> ...
> > diff --git a/include/bdinfo.h b/include/bdinfo.h
> > new file mode 100644
> > index 0000000..cc44544
> > --- /dev/null
> > +++ b/include/bdinfo.h
> > @@ -0,0 +1,49 @@
> > +/*
> > + * (C) Copyright 2008
> > + * Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ...
> > +static inline void print_num(const char *name, ulong value)
> > +{
> > +	printf ("%-12s= 0x%08lX\n", name, value);
> > +}
> > +
> > +static inline void print_lnum(const char *name, u64 value)
> > +{
> > +	printf ("%-12s= 0x%.8llX\n", name, value);
> > +}
> > +
> > +static inline void print_str(const char *name, const char *str)
> > +{
> > +	printf ("%-12s= %6s MHz\n", name, str);
> > +}
> > +
> > +void print_eth(int idx);
> 
> You claim exclusive copyright for this code? I think this is not correct.
I don't really care so please update as you wish

Best Regards,
J.


More information about the U-Boot mailing list