[U-Boot] [PATCH v3 8/9] sunxi: non-FEL SPL boot support for sun7i

Ian Campbell ijc at hellion.org.uk
Sun Apr 27 19:00:34 CEST 2014


On Sat, 2014-04-26 at 20:46 +0200, Marek Vasut wrote:

> > +#define ALIGN(x, a) __ALIGN_MASK((x), (typeof(x))(a)-1)
> > +#define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask))
> 
> Isn't this already defined in include/common.h ?

Yes but it seems that header isn't usable by tools/* AFAICT. I get a
boatload of compiler errors when I try...

Ian.




More information about the U-Boot mailing list