[U-Boot-Users] Need the lists opinion on the "right" way to fix something (long)

Matthias Fuchs matthias.fuchs at esd-electronics.com
Wed Nov 7 09:19:34 CET 2007


Hi,

On Friday 02 November 2007 00:17, Grant Likely wrote:
> On 11/1/07, Wolfgang Denk <wd at denx.de> wrote:
> > In message <OF35EFB6C6.4311E888-ON88257386.007BCD10-88257386.007E0B81 at selinc.com> you wrote:
> > >
> > > Since I've only been working with u-boot/open source for about 9 months,
> > > I'm not really sure what the design philosophies are and what the
> > > acceptable and/or "righ" way of fixing this would be.  Any input or
> > > direction would be greatly appreciated.  Thanks.
> >
> > The simple rule is: whenever you use a variable / macro you must make
> > sure it is defined. You use CFG_XILINX_SPARTAN3 in your board config,
> > so you must make sure to include all needed header files there.
> 
> Also, the whole CFG_FPGA bitmask is a bad approach and should be
> removed.  Instead the config should be based on whether or not the
> CFG_XILINX_SPARTAN et al are defined or not.  CONFIG_CMD used to be
> done with a bit field too, but it was removed due to it being
> difficult to extend.
Ack. That's what I also throught about.

Matthias




More information about the U-Boot mailing list