Dear Albert ARIBAUD, In message <4eb514c7.9000...@aribaud.net> you wrote: > > > +#ifndef MACH_TYPE_JADECPU > > +#define MACH_TYPE_JADECPU 2636 > > +#endif > > NAK -- remove ifndef/endif around definition. This way, if/when mach > type reappears in official mach-type.h, we will get a warning about your > mach-type being defined twice.
Note that you will only get a warning if a _different_ value get's defined (``warning: "VAR" redefined''). If both values are the same, no warning will be raised. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de If the facts don't fit the theory, change the facts. -- Albert Einstein _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot