[U-Boot] [PATCH] Support for the Calao TNY-A9260/TNY-A9G20 boards

Albin Tonnerre albin.tonnerre at free-electrons.com
Thu Aug 20 15:43:27 CEST 2009


On Wed, Aug 19, 2009 at 11:30:05PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote :
> On 21:14 Wed 19 Aug     , Albin Tonnerre wrote:
> > diff --git a/MAKEALL b/MAKEALL
> > index edebaea..5882ceb 100755
> > --- a/MAKEALL
> > +++ b/MAKEALL
> > @@ -607,6 +607,7 @@ LIST_at91="			\
> >  	m501sk			\
> >  	pm9261			\
> >  	pm9263			\
> > +	tny_a9260	\
> why not 9g20 too?

Oops. Thanks.

> >  #########################################################################
> > diff --git a/Makefile b/Makefile
> > index 329e0f5..2abaeeb 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -2838,6 +2838,16 @@ at91sam9g45ekes_config	:	unconfig
> >  pm9263_config	:	unconfig
> >  	@$(MKCONFIG) $(@:_config=) arm arm926ejs pm9263 ronetix at91
> >  
> > +TNY_A9G20_NANDFLASH_config \
> > +TNY_A9G20_EEPROM_config \
> > +TNY_A9G20_config \
> > +TNY_A9260_NANDFLASH_config \
> > +TNY_A9260_EEPROM_config \
> > +TNY_A9260_config	:	unconfig
> > +	@mkdir -p $(obj)include
> > +	@echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
> try somethink like this so you do not need to put the config name uppercase
> 	@echo -n "#define " >$(obj)include/config.h
> 	@echo    "$(@:_config=)" | tr [a-z] [A-Z] >> $(obj)include/config.h

I think I'll go with uppercase. If the shell ends up being /bin/sh, it might not
provide the '-n' switch for echo, so I'd rather avoid it when possible.

Thanks for your comments,
-- 
Albin Tonnerre, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090820/cdbc4a08/attachment.pgp 


More information about the U-Boot mailing list