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

Albin Tonnerre albin.tonnerre at free-electrons.com
Tue Aug 18 10:26:26 CEST 2009


On Tue, Aug 18, 2009 at 12:48:02AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote :
> On 00:13 Tue 18 Aug     , Albin Tonnerre wrote:
> > On Mon, Aug 17, 2009 at 11:41:06PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote :
> > > > +
> > > > +#ifndef __CONFIG_H
> > > > +#define __CONFIG_H
> > > > +
> > > > +#if defined(CONFIG_tny_a9260) || defined(CONFIG_tny_a9260_nandflash) || defined(CONFIG_tny_a9260_eeprom)
> > > too long
> > > and define must be upper case
> > 
> > Those defines are generated directly from the target names in the Makfile, and
> > are used for "internal" purposes only. Moving them to uppercase would mean
> > changing the target names from tny_a9g20_nandflash to TNY_A9G20_NANDFLASH, while
> > the existing Calao-provided BSP uses lowercase. I'd rather not change that.
> you make them uppercase before put them in the config.h

Any hint about how to do that in a Makefile without using things like tr ?

Regards,
-- 
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/20090818/c5c33807/attachment.pgp 


More information about the U-Boot mailing list